Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 104.9 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 192.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.1 MB / 223.2 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2257/0.2257, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 70.69 kB / 441.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1381, allocations: 57.78 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4666/0.6047, allocations: 136.2 MB / 0.6209 GB, free: 2.418 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006473/0.6112, allocations: 4.706 MB / 0.6255 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002956/0.6116, allocations: 4 kB / 0.6255 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005544/0.6122, allocations: 55.59 kB / 0.6255 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002623/0.6149, allocations: 0.7306 MB / 0.6263 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.6154, allocations: 159.7 kB / 0.6264 GB, free: 12.76 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008696/0.6163, allocations: 382.1 kB / 0.6268 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.321e-05/0.6164, allocations: 9.688 kB / 0.6268 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.6168, allocations: 151.5 kB / 0.6269 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004012/0.6172, allocations: 191.4 kB / 0.6271 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.6172, allocations: 12 kB / 0.6271 GB, free: 12.03 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.6188, allocations: 0.6785 MB / 0.6278 GB, free: 11.35 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.6189, allocations: 47.75 kB / 0.6278 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.6191, allocations: 107.5 kB / 0.6279 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.6204, allocations: 462.6 kB / 0.6284 GB, free: 10.75 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6204, allocations: 0 / 0.6284 GB, free: 10.75 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6204, allocations: 0 / 0.6284 GB, free: 10.75 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.6204, allocations: 0 / 0.6284 GB, free: 10.75 MB / 478.1 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.001294/0.6217, allocations: 0.6035 MB / 0.629 GB, free: 10.1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.011e-05/0.6218, allocations: 15.89 kB / 0.629 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.622, allocations: 28.8 kB / 0.629 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.6224, allocations: 232.1 kB / 0.6292 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.6225, allocations: 123.9 kB / 0.6293 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.6226, allocations: 20.56 kB / 0.6294 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.6231, allocations: 326.8 kB / 0.6297 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.6232, allocations: 0 / 0.6297 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.6232, allocations: 15.94 kB / 0.6297 GB, free: 9.266 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.6232, allocations: 7.984 kB / 0.6297 GB, free: 9.258 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008498/0.6241, allocations: 0.743 MB / 0.6304 GB, free: 8.512 MB / 478.1 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.001495/0.6256, allocations: 1.226 MB / 0.6316 GB, free: 7.172 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.626, allocations: 179.7 kB / 0.6318 GB, free: 6.988 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.6262, allocations: 85.48 kB / 0.6319 GB, free: 6.902 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002498/0.6287, allocations: 2.703 MB / 0.6345 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.6287, allocations: 38.55 kB / 0.6345 GB, free: 3.641 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.6287, allocations: 0 / 0.6345 GB, free: 3.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006713/0.6294, allocations: 213.1 kB / 0.6348 GB, free: 3.426 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.6295, allocations: 59.34 kB / 0.6348 GB, free: 3.355 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.6297, allocations: 219 kB / 0.635 GB, free: 3.129 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.6297, allocations: 25.7 kB / 0.635 GB, free: 3.098 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.6299, allocations: 227.5 kB / 0.6353 GB, free: 2.871 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/0.6299, allocations: 59.52 kB / 0.6353 GB, free: 2.812 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.63, allocations: 82.08 kB / 0.6354 GB, free: 2.727 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.6302, allocations: 330.8 kB / 0.6357 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.276e-05/0.6303, allocations: 48.83 kB / 0.6358 GB, free: 2.344 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.6306, allocations: 328 kB / 0.6361 GB, free: 1.887 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.631, allocations: 436.5 kB / 0.6365 GB, free: 1.324 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.631, allocations: 0 / 0.6365 GB, free: 1.324 MB / 478.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006534/0.6317, allocations: 385 kB / 0.6369 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.6317, allocations: 8 kB / 0.6369 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.6318, allocations: 12 kB / 0.6369 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.6318, allocations: 12 kB / 0.6369 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.6321, allocations: 111.8 kB / 0.637 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/0.6321, allocations: 23.86 kB / 0.637 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.6324, allocations: 16.47 kB / 0.637 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.6324, allocations: 32 kB / 0.6371 GB, free: 0.7344 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.6326, allocations: 149.6 kB / 0.6372 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.6326, allocations: 15.91 kB / 0.6372 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.6329, allocations: 163.8 kB / 0.6374 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.633, allocations: 7.922 kB / 0.6374 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.633, allocations: 0 / 0.6374 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.633, allocations: 0 / 0.6374 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005947/0.6336, allocations: 447.9 kB / 0.6378 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6336, allocations: 0 / 0.6378 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.6337, allocations: 27.98 kB / 0.6378 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.6338, allocations: 0 / 0.6378 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.6338, allocations: 8.062 kB / 0.6378 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6338, allocations: 4 kB / 0.6378 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6338, allocations: 0 / 0.6378 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.6341, allocations: 230 kB / 0.6381 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.77e-05/0.6342, allocations: 105 kB / 0.6382 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.6342, allocations: 0 / 0.6382 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.6344, allocations: 15.98 kB / 0.6382 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.6345, allocations: 4 kB / 0.6382 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.6345, allocations: 15.98 kB / 0.6382 GB, free: 15.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.6346, allocations: 148.5 kB / 0.6383 GB, free: 15.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6346, allocations: 0 / 0.6383 GB, free: 15.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004864/0.6351, allocations: 87.94 kB / 0.6384 GB, free: 15.21 MB / 494.1 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 (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.000308/0.6354, allocations: 162.9 kB / 0.6386 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003474/0.6358, allocations: 181.5 kB / 0.6388 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6358, allocations: 0 / 0.6388 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.324e-05/0.6359, allocations: 40.67 kB / 0.6388 GB, free: 14.83 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.6364, allocations: 57.69 kB / 0.6388 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009341/0.6373, allocations: 482.4 kB / 0.6393 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.6377, allocations: 0.7285 MB / 0.64 GB, free: 13.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002268/0.6379, allocations: 58.81 kB / 0.6401 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.638, allocations: 27.44 kB / 0.6401 GB, free: 13.44 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.638, allocations: 0 / 0.6401 GB, free: 13.44 MB / 494.1 MB Notification: Performance of Templates: time 0.007871/0.6459, allocations: 3.189 MB / 0.6432 GB, free: 10.27 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches