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.00101/0.00101, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009343/0.0009345, allocations: 177.1 kB / 16.56 MB, free: 6.844 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.539/1.539, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.353/0.353, allocations: 43.55 MB / 314.5 MB, free: 9.07 MB / 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.0005186/0.0005188, allocations: 15.98 kB / 383.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1386, allocations: 58.86 MB / 442.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3617/0.5003, allocations: 115.3 MB / 0.545 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005188/0.5056, allocations: 3.839 MB / 0.5487 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.5059, allocations: 1.312 kB / 0.5487 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.5063, allocations: 49.38 kB / 0.5488 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.5085, allocations: 0.6208 MB / 0.5494 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.509, allocations: 153.5 kB / 0.5495 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008459/0.5098, allocations: 256 kB / 0.5498 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.485e-05/0.5099, allocations: 10.39 kB / 0.5498 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004012/0.5103, allocations: 151.9 kB / 0.5499 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004279/0.5108, allocations: 162.7 kB / 0.5501 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.693e-05/0.5108, allocations: 8 kB / 0.5501 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.5128, allocations: 0.6146 MB / 0.5507 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.5129, allocations: 45.83 kB / 0.5508 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.513, allocations: 61.64 kB / 0.5508 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008865/0.5139, allocations: 291.2 kB / 0.5511 GB, free: 1.336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.5139, allocations: 0 / 0.5511 GB, free: 1.336 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5139, allocations: 0 / 0.5511 GB, free: 1.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.514, allocations: 0 / 0.5511 GB, free: 1.336 MB / 414.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.001193/0.5152, allocations: 0.549 MB / 0.5516 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.5152, allocations: 8.031 kB / 0.5516 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.5154, allocations: 27.72 kB / 0.5517 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.5157, allocations: 224.7 kB / 0.5519 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.5158, allocations: 123.4 kB / 0.552 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.5159, allocations: 23.94 kB / 0.552 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.5164, allocations: 318.4 kB / 0.5523 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.5164, allocations: 2.75 kB / 0.5523 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.5165, allocations: 12 kB / 0.5523 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.5165, allocations: 14.14 kB / 0.5523 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008659/0.5174, allocations: 0.7333 MB / 0.5531 GB, free: 15.5 MB / 430.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.00159/0.519, allocations: 1.281 MB / 0.5543 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.5194, allocations: 167.4 kB / 0.5545 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002333/0.5217, allocations: 2.645 MB / 0.5571 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.5218, allocations: 38.56 kB / 0.5571 GB, free: 10.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.5218, allocations: 0 / 0.5571 GB, free: 10.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006416/0.5224, allocations: 234.8 kB / 0.5573 GB, free: 10.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.5225, allocations: 59.41 kB / 0.5574 GB, free: 10.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.5227, allocations: 203 kB / 0.5576 GB, free: 10.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.5227, allocations: 29.7 kB / 0.5576 GB, free: 10.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.5229, allocations: 210.8 kB / 0.5578 GB, free: 10.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.5229, allocations: 63.17 kB / 0.5579 GB, free: 10.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.5229, allocations: 8 kB / 0.5579 GB, free: 10.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5231, allocations: 326.8 kB / 0.5582 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.5232, allocations: 48.84 kB / 0.5582 GB, free: 9.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.5234, allocations: 321.2 kB / 0.5585 GB, free: 9.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.5236, allocations: 107.8 kB / 0.5586 GB, free: 9.199 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5236, allocations: 4 kB / 0.5586 GB, free: 9.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005807/0.5242, allocations: 365.6 kB / 0.559 GB, free: 8.832 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.5243, allocations: 12.22 kB / 0.559 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.5243, allocations: 12 kB / 0.559 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.5243, allocations: 19.95 kB / 0.559 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.5246, allocations: 107.8 kB / 0.5591 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.5247, allocations: 15.94 kB / 0.5591 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.5249, allocations: 16 kB / 0.5592 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.525, allocations: 31.98 kB / 0.5592 GB, free: 8.621 MB / 430.1 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.0001394/0.5251, allocations: 150.3 kB / 0.5593 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.5252, allocations: 27.81 kB / 0.5594 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.5255, allocations: 168.5 kB / 0.5595 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.5255, allocations: 7.953 kB / 0.5595 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5256, allocations: 0 / 0.5595 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.5256, allocations: 0 / 0.5595 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.5262, allocations: 481.6 kB / 0.56 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5262, allocations: 4.078 kB / 0.56 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.5263, allocations: 31.98 kB / 0.56 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.5264, allocations: 4 kB / 0.56 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.5264, allocations: 4.75 kB / 0.56 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.5264, allocations: 4 kB / 0.56 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5264, allocations: 3.984 kB / 0.56 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.5267, allocations: 281.5 kB / 0.5603 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.5268, allocations: 112.8 kB / 0.5604 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.5269, allocations: 8.031 kB / 0.5604 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.5271, allocations: 16.55 kB / 0.5604 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.5271, allocations: 19.92 kB / 0.5605 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.5272, allocations: 12.8 kB / 0.5605 GB, free: 7.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.5273, allocations: 140.5 kB / 0.5606 GB, free: 7.023 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.705e-06/0.5273, allocations: 0 / 0.5606 GB, free: 7.023 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005217/0.5278, allocations: 103.9 kB / 0.5607 GB, free: 6.922 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 13 * 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.0002717/0.5281, allocations: 139.2 kB / 0.5608 GB, free: 6.777 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.5284, allocations: 181.2 kB / 0.561 GB, free: 6.602 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5284, allocations: 0 / 0.561 GB, free: 6.602 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.839e-05/0.5285, allocations: 41.48 kB / 0.561 GB, free: 6.562 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.5289, allocations: 49.84 kB / 0.5611 GB, free: 6.512 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007828/0.5297, allocations: 0.5086 MB / 0.5616 GB, free: 5.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.53, allocations: 0.7287 MB / 0.5623 GB, free: 5.215 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002602/0.5303, allocations: 62.91 kB / 0.5624 GB, free: 5.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.5304, allocations: 31.42 kB / 0.5624 GB, free: 5.125 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5304, allocations: 0 / 0.5624 GB, free: 5.125 MB / 430.1 MB Notification: Performance of Templates: time 0.007006/0.5374, allocations: 2.933 MB / 0.5653 GB, free: 2.238 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches