Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 197.5 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 226.5 MB / 243.4 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008476/0.0008475, allocations: 101.7 kB / 295.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.309/0.309, allocations: 44.81 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002868, allocations: 4 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3319, allocations: 62.96 MB / 0.5159 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1236/0.4555, allocations: 123.3 MB / 0.6363 GB, free: 13.86 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004661/0.4603, allocations: 4.364 MB / 0.6405 GB, free: 9.488 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.4605, allocations: 0 / 0.6405 GB, free: 9.488 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.4608, allocations: 47.72 kB / 0.6406 GB, free: 9.441 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.4626, allocations: 0.6375 MB / 0.6412 GB, free: 8.801 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.463, allocations: 162.2 kB / 0.6413 GB, free: 8.652 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006103/0.4636, allocations: 390.1 kB / 0.6417 GB, free: 8.27 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.28e-05/0.4637, allocations: 14.47 kB / 0.6417 GB, free: 8.258 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.464, allocations: 151.4 kB / 0.6419 GB, free: 8.109 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003532/0.4643, allocations: 187.4 kB / 0.642 GB, free: 7.926 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.4644, allocations: 8 kB / 0.6421 GB, free: 7.918 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.4658, allocations: 0.7095 MB / 0.6427 GB, free: 7.207 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.158e-05/0.4659, allocations: 43.81 kB / 0.6428 GB, free: 7.164 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.4661, allocations: 129.2 kB / 0.6429 GB, free: 7.031 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006051/0.4667, allocations: 320.9 kB / 0.6432 GB, free: 6.719 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4667, allocations: 0 / 0.6432 GB, free: 6.719 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4667, allocations: 0 / 0.6432 GB, free: 6.719 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.4668, allocations: 0 / 0.6432 GB, free: 6.719 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00106/0.4678, allocations: 0.5502 MB / 0.6438 GB, free: 6.117 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4679, allocations: 8.031 kB / 0.6438 GB, free: 6.109 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.4681, allocations: 28.66 kB / 0.6438 GB, free: 6.082 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.4684, allocations: 228 kB / 0.644 GB, free: 5.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.4685, allocations: 123.9 kB / 0.6441 GB, free: 5.676 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.4685, allocations: 20.38 kB / 0.6441 GB, free: 5.656 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.469, allocations: 330.7 kB / 0.6445 GB, free: 5.305 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4691, allocations: 3.938 kB / 0.6445 GB, free: 5.301 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.4691, allocations: 15.98 kB / 0.6445 GB, free: 5.285 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.4691, allocations: 4 kB / 0.6445 GB, free: 5.281 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007422/0.4699, allocations: 0.7391 MB / 0.6452 GB, free: 4.543 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.4712, allocations: 1.23 MB / 0.6464 GB, free: 3.199 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.4716, allocations: 167.8 kB / 0.6466 GB, free: 3.027 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.4718, allocations: 89.42 kB / 0.6467 GB, free: 2.938 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002336/0.4741, allocations: 2.703 MB / 0.6493 GB, free: 15.72 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.4741, allocations: 34.5 kB / 0.6493 GB, free: 15.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.4741, allocations: 0 / 0.6493 GB, free: 15.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006452/0.4748, allocations: 228.4 kB / 0.6495 GB, free: 15.45 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.4748, allocations: 51.41 kB / 0.6496 GB, free: 15.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.475, allocations: 218.5 kB / 0.6498 GB, free: 15.17 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.4751, allocations: 29.7 kB / 0.6498 GB, free: 15.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4752, allocations: 214.8 kB / 0.65 GB, free: 14.92 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.4752, allocations: 47.36 kB / 0.6501 GB, free: 14.88 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.4752, allocations: 8 kB / 0.6501 GB, free: 14.87 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4754, allocations: 330.8 kB / 0.6504 GB, free: 14.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.663e-05/0.4755, allocations: 44.84 kB / 0.6504 GB, free: 14.49 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.4757, allocations: 325.2 kB / 0.6508 GB, free: 14.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.4762, allocations: 412.3 kB / 0.6511 GB, free: 13.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.4762, allocations: 4 kB / 0.6512 GB, free: 13.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005579/0.4768, allocations: 381.3 kB / 0.6515 GB, free: 13.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4768, allocations: 12 kB / 0.6515 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.4768, allocations: 8 kB / 0.6515 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.4769, allocations: 15.94 kB / 0.6516 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.4772, allocations: 111.8 kB / 0.6517 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.4772, allocations: 15.94 kB / 0.6517 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.4774, allocations: 16.31 kB / 0.6517 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.4775, allocations: 36.06 kB / 0.6517 GB, free: 12.91 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.4776, allocations: 153.5 kB / 0.6519 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.4777, allocations: 19.81 kB / 0.6519 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.478, allocations: 151.7 kB / 0.652 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.478, allocations: 0 / 0.652 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.478, allocations: 0 / 0.652 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4781, allocations: 0 / 0.652 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000554/0.4786, allocations: 448 kB / 0.6525 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4786, allocations: 3.938 kB / 0.6525 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.4788, allocations: 31.97 kB / 0.6525 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4788, allocations: 4.062 kB / 0.6525 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4788, allocations: 4 kB / 0.6525 GB, free: 12.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4788, allocations: 3.984 kB / 0.6525 GB, free: 12.03 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4788, allocations: 0 / 0.6525 GB, free: 12.03 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.4791, allocations: 224.8 kB / 0.6527 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.4792, allocations: 108.9 kB / 0.6528 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.4792, allocations: 4 kB / 0.6528 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.4794, allocations: 19.98 kB / 0.6528 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.4795, allocations: 4 kB / 0.6529 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.4795, allocations: 7.984 kB / 0.6529 GB, free: 11.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.4796, allocations: 152.5 kB / 0.653 GB, free: 11.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4796, allocations: 0 / 0.653 GB, free: 11.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005117/0.4802, allocations: 88 kB / 0.6531 GB, free: 11.39 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003323/0.4805, allocations: 163.1 kB / 0.6532 GB, free: 11.22 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003076/0.4808, allocations: 177.3 kB / 0.6534 GB, free: 11.05 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4808, allocations: 0.75 kB / 0.6534 GB, free: 11.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.311e-05/0.4809, allocations: 36.05 kB / 0.6534 GB, free: 11.01 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.4813, allocations: 58.89 kB / 0.6535 GB, free: 10.95 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009322/0.4823, allocations: 0.6349 MB / 0.6541 GB, free: 10.28 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.4826, allocations: 0.7326 MB / 0.6548 GB, free: 9.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/0.4826, allocations: 35.38 kB / 0.6549 GB, free: 9.488 MB / 474.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4827, allocations: 0 / 0.6549 GB, free: 9.488 MB / 474.7 MB Notification: Performance of Templates: time 0.005743/0.4884, allocations: 3.269 MB / 0.6581 GB, free: 6.234 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches