Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009748/0.0009749, allocations: 108.7 kB / 18.45 MB, free: 4.645 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.001149/0.001149, allocations: 183.1 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2276/0.2276, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3154, allocations: 60.81 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1397/0.4551, allocations: 136.2 MB / 0.6526 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004758/0.4599, allocations: 4.711 MB / 0.6572 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.4601, allocations: 0 / 0.6572 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.4605, allocations: 59.59 kB / 0.6572 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.4624, allocations: 0.7267 MB / 0.6579 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.4628, allocations: 159.6 kB / 0.6581 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005006/0.4633, allocations: 366.2 kB / 0.6584 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.433e-05/0.4633, allocations: 17.67 kB / 0.6584 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.4635, allocations: 159.3 kB / 0.6586 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.4638, allocations: 183.5 kB / 0.6588 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.4639, allocations: 8 kB / 0.6588 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.4651, allocations: 0.6903 MB / 0.6594 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.4652, allocations: 47.75 kB / 0.6595 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.4653, allocations: 111.5 kB / 0.6596 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006607/0.466, allocations: 456.6 kB / 0.66 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.466, allocations: 8 kB / 0.66 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.466, allocations: 0 / 0.66 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.466, allocations: 0 / 0.66 GB, free: 11.73 MB / 0.5137 GB 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.0009741/0.467, allocations: 0.593 MB / 0.6606 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.467, allocations: 8.031 kB / 0.6606 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.4672, allocations: 28.69 kB / 0.6607 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.4675, allocations: 228 kB / 0.6609 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.4677, allocations: 127.9 kB / 0.661 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.4677, allocations: 24.38 kB / 0.661 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.4682, allocations: 326.7 kB / 0.6613 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.4682, allocations: 4 kB / 0.6613 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.4683, allocations: 12 kB / 0.6613 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.4683, allocations: 8 kB / 0.6614 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007338/0.469, allocations: 0.7391 MB / 0.6621 GB, free: 9.512 MB / 0.5137 GB 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.001217/0.4702, allocations: 1.222 MB / 0.6633 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.4706, allocations: 175.7 kB / 0.6634 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.4708, allocations: 97.42 kB / 0.6635 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00206/0.4728, allocations: 2.695 MB / 0.6662 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.4729, allocations: 38.55 kB / 0.6662 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.4729, allocations: 0 / 0.6662 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0005999/0.4735, allocations: 220.4 kB / 0.6664 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.4735, allocations: 55.34 kB / 0.6665 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.4737, allocations: 219 kB / 0.6667 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.4737, allocations: 29.7 kB / 0.6667 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4738, allocations: 218.7 kB / 0.6669 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.4739, allocations: 51.34 kB / 0.667 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.251e-05/0.474, allocations: 78.03 kB / 0.667 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4741, allocations: 326.8 kB / 0.6673 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-05/0.4742, allocations: 60.77 kB / 0.6674 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.4744, allocations: 328 kB / 0.6677 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.4748, allocations: 434 kB / 0.6681 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4748, allocations: 4 kB / 0.6681 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005083/0.4753, allocations: 377.3 kB / 0.6685 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4754, allocations: 12 kB / 0.6685 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.4754, allocations: 8 kB / 0.6685 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.4754, allocations: 15.94 kB / 0.6685 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.4757, allocations: 107.8 kB / 0.6686 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.4758, allocations: 19.92 kB / 0.6686 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.476, allocations: 20 kB / 0.6687 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.476, allocations: 28.38 kB / 0.6687 GB, free: 1.754 MB / 0.5137 GB 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.0001203/0.4761, allocations: 161.5 kB / 0.6688 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.4762, allocations: 19.81 kB / 0.6689 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.4765, allocations: 151.8 kB / 0.669 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.4765, allocations: 7.984 kB / 0.669 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4765, allocations: 0 / 0.669 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4765, allocations: 3.984 kB / 0.669 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.477, allocations: 436 kB / 0.6694 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.477, allocations: 4 kB / 0.6694 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.4772, allocations: 27.92 kB / 0.6695 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.4772, allocations: 4 kB / 0.6695 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.4772, allocations: 8.062 kB / 0.6695 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4772, allocations: 0 / 0.6695 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4772, allocations: 4 kB / 0.6695 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.4774, allocations: 217 kB / 0.6697 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.4775, allocations: 104.8 kB / 0.6698 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.4775, allocations: 11.88 kB / 0.6698 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.4778, allocations: 19.98 kB / 0.6698 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.4778, allocations: 4 kB / 0.6698 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.4778, allocations: 7.984 kB / 0.6698 GB, free: 468 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001119/0.4779, allocations: 156.5 kB / 0.67 GB, free: 316 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4779, allocations: 0 / 0.67 GB, free: 316 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004586/0.4784, allocations: 84 kB / 0.6701 GB, free: 232 kB / 0.5137 GB 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.0002601/0.4787, allocations: 159.2 kB / 0.6702 GB, free: 64 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003009/0.479, allocations: 185.6 kB / 0.6704 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.479, allocations: 0 / 0.6704 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.282e-05/0.479, allocations: 44.48 kB / 0.6704 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.4795, allocations: 48.69 kB / 0.6705 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008258/0.4803, allocations: 0.5004 MB / 0.671 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.4806, allocations: 0.7285 MB / 0.6717 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.4807, allocations: 35.38 kB / 0.6717 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.4807, allocations: 0 / 0.6717 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of Templates: time 0.005005/0.4857, allocations: 3.28 MB / 0.6749 GB, free: 11.2 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches