Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007527/0.000757, allocations: 93.78 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009372/0.0009372, allocations: 201.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.7 MB / 246.8 MB, free: 9.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2188/0.2188, allocations: 46.18 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002613/0.0002613, allocations: 11.98 kB / 419.5 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.12, allocations: 63.57 MB / 483.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.000695/0.1208, allocations: 214.9 kB / 483.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.1227, allocations: 1.26 MB / 484.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.438e-05/0.1227, allocations: 0 / 484.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.07e-05/0.1227, allocations: 3.938 kB / 484.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.1228, allocations: 8 kB / 484.6 MB, free: 2.625 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:455:3-487:12:writable] Warning: Pure function ‘ModelicaTest.Utilities.Files‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008588/0.1237, allocations: 190.2 kB / 484.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.965e-05/0.1238, allocations: 4 kB / 484.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.772e-05/0.1238, allocations: 7.984 kB / 484.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.536e-05/0.1238, allocations: 4 kB / 484.8 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.1239, allocations: 7.984 kB / 484.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.1239, allocations: 0 / 484.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.1268, allocations: 0.6093 MB / 485.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-06/0.1269, allocations: 4 kB / 485.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.1269, allocations: 33.58 kB / 485.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.1272, allocations: 179.7 kB / 485.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1272, allocations: 3.938 kB / 485.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1272, allocations: 0 / 485.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.1272, allocations: 0 / 485.6 MB, free: 1.684 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003358/0.1275, allocations: 380.1 kB / 486 MB, free: 1.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1276, allocations: 8.875 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.1276, allocations: 0.9375 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.1277, allocations: 172.4 kB / 486.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1277, allocations: 4.312 kB / 486.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.1277, allocations: 384 / 486.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.211e-05/0.1278, allocations: 33.83 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-06/0.1278, allocations: 0 / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1278, allocations: 0 / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1279, allocations: 0 / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.329e-05/0.1279, allocations: 0 / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.128, allocations: 153.7 kB / 486.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.489e-05/0.1281, allocations: 22.52 kB / 486.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/0.1281, allocations: 8.953 kB / 486.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-06/0.1281, allocations: 0 / 486.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.1281, allocations: 60.2 kB / 486.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.1281, allocations: 3.938 kB / 486.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001446/0.1283, allocations: 71.39 kB / 486.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.1283, allocations: 81.23 kB / 486.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.464e-05/0.1284, allocations: 89.86 kB / 486.7 MB, free: 416 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.1284, allocations: 29.7 kB / 486.7 MB, free: 380 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/0.1284, allocations: 80.14 kB / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.1285, allocations: 3.906 kB / 486.8 MB, free: 292 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.1285, allocations: 21.64 kB / 486.8 MB, free: 264 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.1286, allocations: 310.8 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-06/0.1286, allocations: 4 kB / 487.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-06/0.1286, allocations: 4.125 kB / 487.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.1287, allocations: 60.27 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1287, allocations: 0 / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.942e-05/0.1287, allocations: 71.33 kB / 487.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.1288, allocations: 29.7 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1288, allocations: 0 / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.1288, allocations: 0 / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.1288, allocations: 4 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1288, allocations: 0 / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.1288, allocations: 8.031 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1288, allocations: 4 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.964e-05/0.1289, allocations: 139.5 kB / 487.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-06/0.1289, allocations: 3.938 kB / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-06/0.1289, allocations: 7.109 kB / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.1289, allocations: 0 / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.129, allocations: 0 / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.129, allocations: 3.984 kB / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.882e-05/0.129, allocations: 149.7 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1291, allocations: 4 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-06/0.1291, allocations: 7.922 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.1291, allocations: 0 / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.1291, allocations: 4 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1291, allocations: 0 / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1291, allocations: 0 / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.276e-05/0.1292, allocations: 90.83 kB / 487.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.1292, allocations: 81.05 kB / 487.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.1292, allocations: 7.969 kB / 487.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-06/0.1292, allocations: 0 / 487.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.779e-06/0.1293, allocations: 7.938 kB / 487.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.1293, allocations: 0 / 487.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.803e-05/0.1293, allocations: 75.28 kB / 487.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1293, allocations: 0 / 487.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1296, allocations: 59.98 kB / 487.9 MB, free: 15 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005789/0.1302, allocations: 345.2 kB / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.942e-05/0.1303, allocations: 63.41 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1303, allocations: 0 / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.912e-05/0.1303, allocations: 59.39 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.1304, allocations: 3.938 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001605/0.1306, allocations: 82.61 kB / 488.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.1308, allocations: 0.6811 MB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.011e-06/0.1308, allocations: 0 / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-06/0.1309, allocations: 7.438 kB / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1309, allocations: 3.938 kB / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of Templates: time 0.003964/0.1348, allocations: 1.568 MB / 490.7 MB, free: 12.17 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches