Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002164/0.002164, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.605/1.605, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 102 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3394/0.3394, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 59.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.317, allocations: 62.02 MB / 0.5152 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1462/0.4633, allocations: 134.1 MB / 0.6461 GB, free: 3.059 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005776/0.4691, allocations: 4.766 MB / 0.6507 GB, free: 14.28 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.4695, allocations: 0 / 0.6507 GB, free: 14.28 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005542/0.4701, allocations: 59.7 kB / 0.6508 GB, free: 14.22 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.4724, allocations: 0.6609 MB / 0.6514 GB, free: 13.55 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.4729, allocations: 151.3 kB / 0.6516 GB, free: 13.41 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007091/0.4736, allocations: 450 kB / 0.652 GB, free: 12.97 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.822e-05/0.4737, allocations: 21.67 kB / 0.652 GB, free: 12.95 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003553/0.4741, allocations: 151.4 kB / 0.6522 GB, free: 12.8 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.4744, allocations: 187.4 kB / 0.6524 GB, free: 12.62 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 5.499e-05/0.4745, allocations: 8 kB / 0.6524 GB, free: 12.61 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.4763, allocations: 0.7213 MB / 0.6531 GB, free: 11.89 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.4764, allocations: 51.73 kB / 0.6531 GB, free: 11.84 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.4767, allocations: 111.5 kB / 0.6532 GB, free: 11.73 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.4782, allocations: 465 kB / 0.6537 GB, free: 11.27 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4782, allocations: 0 / 0.6537 GB, free: 11.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4782, allocations: 0 / 0.6537 GB, free: 11.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.4782, allocations: 4 kB / 0.6537 GB, free: 11.27 MB / 474.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.001395/0.4796, allocations: 0.5998 MB / 0.6543 GB, free: 10.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.4797, allocations: 8.031 kB / 0.6543 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.4799, allocations: 28.73 kB / 0.6543 GB, free: 10.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.4802, allocations: 228 kB / 0.6545 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.4804, allocations: 127.9 kB / 0.6546 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.4804, allocations: 24.38 kB / 0.6547 GB, free: 10.15 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.4809, allocations: 322.7 kB / 0.655 GB, free: 9.809 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4809, allocations: 0 / 0.655 GB, free: 9.809 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.481, allocations: 12 kB / 0.655 GB, free: 9.797 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.481, allocations: 12 kB / 0.655 GB, free: 9.785 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007828/0.4818, allocations: 0.739 MB / 0.6557 GB, free: 9.047 MB / 474.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.001322/0.4831, allocations: 1.226 MB / 0.6569 GB, free: 7.707 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.4835, allocations: 163.8 kB / 0.6571 GB, free: 7.539 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.4837, allocations: 93.42 kB / 0.6572 GB, free: 7.445 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00222/0.4859, allocations: 2.699 MB / 0.6598 GB, free: 4.234 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.486, allocations: 42.56 kB / 0.6598 GB, free: 4.184 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 2.385e-06/0.486, allocations: 3.938 kB / 0.6598 GB, free: 4.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006717/0.4867, allocations: 220.2 kB / 0.66 GB, free: 3.961 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.4867, allocations: 59.34 kB / 0.6601 GB, free: 3.891 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.4869, allocations: 214.6 kB / 0.6603 GB, free: 3.676 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4869, allocations: 25.7 kB / 0.6603 GB, free: 3.645 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.487, allocations: 214.8 kB / 0.6605 GB, free: 3.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.4871, allocations: 59.25 kB / 0.6606 GB, free: 3.371 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-05/0.4872, allocations: 86.03 kB / 0.6607 GB, free: 3.281 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4873, allocations: 326.8 kB / 0.661 GB, free: 2.953 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.647e-05/0.4874, allocations: 52.84 kB / 0.661 GB, free: 2.902 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.4877, allocations: 317.2 kB / 0.6613 GB, free: 2.461 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.4881, allocations: 420.3 kB / 0.6617 GB, free: 1.918 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.4881, allocations: 0 / 0.6617 GB, free: 1.918 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005547/0.4887, allocations: 376.8 kB / 0.6621 GB, free: 1.543 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4887, allocations: 8.938 kB / 0.6621 GB, free: 1.535 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4887, allocations: 8 kB / 0.6621 GB, free: 1.527 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.4887, allocations: 19.94 kB / 0.6621 GB, free: 1.508 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.4891, allocations: 111.8 kB / 0.6622 GB, free: 1.398 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.4891, allocations: 19.92 kB / 0.6623 GB, free: 1.379 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.4893, allocations: 23.91 kB / 0.6623 GB, free: 1.355 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.4894, allocations: 28 kB / 0.6623 GB, free: 1.328 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.4895, allocations: 149.6 kB / 0.6625 GB, free: 1.172 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.4896, allocations: 19.81 kB / 0.6625 GB, free: 1.152 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.4899, allocations: 159.7 kB / 0.6626 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.4899, allocations: 3.984 kB / 0.6626 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4899, allocations: 4 kB / 0.6626 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4899, allocations: 4.031 kB / 0.6626 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.4904, allocations: 442.4 kB / 0.6631 GB, free: 496 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4905, allocations: 0 / 0.6631 GB, free: 496 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.4906, allocations: 31.92 kB / 0.6631 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4906, allocations: 0 / 0.6631 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.4906, allocations: 8 kB / 0.6631 GB, free: 456 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.4907, allocations: 0 / 0.6631 GB, free: 456 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.4907, allocations: 7.984 kB / 0.6631 GB, free: 448 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005879/0.4913, allocations: 0.8112 MB / 0.6639 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.4914, allocations: 104.9 kB / 0.664 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.4914, allocations: 7.938 kB / 0.664 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.4916, allocations: 4 kB / 0.664 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.4917, allocations: 19.92 kB / 0.664 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.4917, allocations: 7.984 kB / 0.664 GB, free: 15.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.4918, allocations: 148.5 kB / 0.6642 GB, free: 15.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4918, allocations: 0 / 0.6642 GB, free: 15.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005756/0.4924, allocations: 95.98 kB / 0.6643 GB, free: 15.16 MB / 490.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 (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.0003287/0.4927, allocations: 159.1 kB / 0.6644 GB, free: 14.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002943/0.493, allocations: 176.5 kB / 0.6646 GB, free: 14.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.493, allocations: 0 / 0.6646 GB, free: 14.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.781e-05/0.4931, allocations: 41.48 kB / 0.6646 GB, free: 14.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.4935, allocations: 48.16 kB / 0.6647 GB, free: 14.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.4946, allocations: 0.7101 MB / 0.6654 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.4949, allocations: 0.7287 MB / 0.6661 GB, free: 13.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002893/0.4952, allocations: 54.97 kB / 0.6661 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.4953, allocations: 31.42 kB / 0.6662 GB, free: 13.14 MB / 490.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4953, allocations: 0 / 0.6662 GB, free: 13.14 MB / 490.7 MB Notification: Performance of Templates: time 0.006637/0.5019, allocations: 3.181 MB / 0.6693 GB, free: 9.996 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches