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.001187/0.001187, allocations: 107.1 kB / 16.41 MB, free: 6.504 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.0012/0.001201, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.615/1.615, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2368/0.2368, allocations: 43.52 MB / 314.1 MB, free: 448 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.001816/0.001816, allocations: 69.47 kB / 441.8 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1482, allocations: 57.79 MB / 499.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.5113/0.6596, allocations: 136.2 MB / 0.6209 GB, free: 2.391 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00561/0.6652, allocations: 4.714 MB / 0.6255 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.6654, allocations: 0 / 0.6255 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004214/0.6658, allocations: 55.59 kB / 0.6255 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.6678, allocations: 0.7267 MB / 0.6263 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.6683, allocations: 167.7 kB / 0.6264 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005686/0.6688, allocations: 378.1 kB / 0.6268 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.11e-05/0.6689, allocations: 9.688 kB / 0.6268 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.6691, allocations: 151.5 kB / 0.6269 GB, free: 12.2 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.6695, allocations: 191.4 kB / 0.6271 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.6695, allocations: 12 kB / 0.6271 GB, free: 12 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.6709, allocations: 0.6785 MB / 0.6278 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.907e-05/0.671, allocations: 51.75 kB / 0.6278 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.6711, allocations: 103.5 kB / 0.6279 GB, free: 11.17 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007207/0.6719, allocations: 469.4 kB / 0.6284 GB, free: 10.72 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.6719, allocations: 0 / 0.6284 GB, free: 10.72 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6719, allocations: 0 / 0.6284 GB, free: 10.72 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.6719, allocations: 0 / 0.6284 GB, free: 10.72 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.001107/0.673, allocations: 0.5891 MB / 0.629 GB, free: 10.08 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.6731, allocations: 11.89 kB / 0.629 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.6732, allocations: 36.64 kB / 0.629 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.6736, allocations: 228 kB / 0.6292 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.6737, allocations: 123.9 kB / 0.6293 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.6738, allocations: 24.56 kB / 0.6294 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005065/0.6743, allocations: 322.8 kB / 0.6297 GB, free: 9.262 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.6743, allocations: 7.938 kB / 0.6297 GB, free: 9.254 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.6743, allocations: 4 kB / 0.6297 GB, free: 9.25 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.6744, allocations: 12 kB / 0.6297 GB, free: 9.238 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008594/0.6752, allocations: 0.743 MB / 0.6304 GB, free: 8.492 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.001426/0.6767, allocations: 1.23 MB / 0.6316 GB, free: 7.148 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.6771, allocations: 171.7 kB / 0.6318 GB, free: 6.973 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.6773, allocations: 89.48 kB / 0.6319 GB, free: 6.883 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002541/0.6798, allocations: 2.703 MB / 0.6345 GB, free: 3.668 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.6799, allocations: 31.06 kB / 0.6345 GB, free: 3.629 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/0.6799, allocations: 0 / 0.6345 GB, free: 3.629 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007098/0.6806, allocations: 212.9 kB / 0.6347 GB, free: 3.414 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.6807, allocations: 59.34 kB / 0.6348 GB, free: 3.344 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.6809, allocations: 214.8 kB / 0.635 GB, free: 3.121 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.6809, allocations: 33.7 kB / 0.635 GB, free: 3.082 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.681, allocations: 210.8 kB / 0.6352 GB, free: 2.871 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.6811, allocations: 51.3 kB / 0.6353 GB, free: 2.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.6812, allocations: 89.94 kB / 0.6354 GB, free: 2.727 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6814, allocations: 330.8 kB / 0.6357 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/0.6815, allocations: 44.84 kB / 0.6357 GB, free: 2.348 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.6818, allocations: 336 kB / 0.636 GB, free: 1.883 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.6823, allocations: 434.5 kB / 0.6365 GB, free: 1.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.6823, allocations: 4.562 kB / 0.6365 GB, free: 1.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005868/0.6829, allocations: 375.6 kB / 0.6368 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.6829, allocations: 12 kB / 0.6368 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.683, allocations: 8 kB / 0.6368 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.683, allocations: 16 kB / 0.6369 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.6833, allocations: 119.3 kB / 0.637 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.6834, allocations: 15.94 kB / 0.637 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.6836, allocations: 16.5 kB / 0.637 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.6836, allocations: 35.98 kB / 0.637 GB, free: 0.7305 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.0001323/0.6838, allocations: 145.7 kB / 0.6372 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.6838, allocations: 19.81 kB / 0.6372 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.6841, allocations: 159.7 kB / 0.6373 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.6841, allocations: 7.938 kB / 0.6374 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.6842, allocations: 0 / 0.6374 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.6842, allocations: 0 / 0.6374 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.6848, allocations: 447.9 kB / 0.6378 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.6848, allocations: 4 kB / 0.6378 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.6849, allocations: 23.98 kB / 0.6378 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.6849, allocations: 4.062 kB / 0.6378 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.6849, allocations: 7.984 kB / 0.6378 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.685, allocations: 0 / 0.6378 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.685, allocations: 4 kB / 0.6378 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.6852, allocations: 217.9 kB / 0.638 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.965e-05/0.6853, allocations: 96.91 kB / 0.6381 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.6854, allocations: 15.91 kB / 0.6381 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.6856, allocations: 7.984 kB / 0.6381 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.6856, allocations: 11.98 kB / 0.6382 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.6856, allocations: 8 kB / 0.6382 GB, free: 15.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.6858, allocations: 148.5 kB / 0.6383 GB, free: 15.31 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6858, allocations: 0 / 0.6383 GB, free: 15.31 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005084/0.6863, allocations: 92 kB / 0.6384 GB, free: 15.22 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.0003631/0.6867, allocations: 167 kB / 0.6386 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.6871, allocations: 185.4 kB / 0.6387 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6871, allocations: 0.8125 kB / 0.6387 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.797e-05/0.6871, allocations: 36.47 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.0005394/0.6877, allocations: 58.7 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.001137/0.6888, allocations: 467.8 kB / 0.6393 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.6893, allocations: 0.7285 MB / 0.64 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.6895, allocations: 54.81 kB / 0.64 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.6896, allocations: 31.42 kB / 0.6401 GB, free: 13.45 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.6896, allocations: 4 kB / 0.6401 GB, free: 13.45 MB / 494.1 MB Notification: Performance of Templates: time 0.008569/0.6982, allocations: 3.191 MB / 0.6432 GB, free: 10.28 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