Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002162/0.002162, allocations: 181.8 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001754/0.001754, allocations: 89.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2872/0.2872, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.053e-05/2.05e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3979, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.604, allocations: 376.7 MB / 0.8338 GB, free: 146 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/1.604, allocations: 78.16 kB / 0.8339 GB, free: 146 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.07936/1.684, allocations: 21.09 MB / 0.8545 GB, free: 144.4 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.824e-06/1.684, allocations: 0 / 0.8545 GB, free: 144.4 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.591e-05/1.684, allocations: 3.906 kB / 0.8545 GB, free: 144.4 MB / 0.4952 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.00124/1.685, allocations: 0.5543 MB / 0.855 GB, free: 143.9 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.685, allocations: 7.812 kB / 0.855 GB, free: 143.9 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/1.685, allocations: 31.33 kB / 0.8551 GB, free: 143.9 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/1.686, allocations: 227.9 kB / 0.8553 GB, free: 143.7 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/1.686, allocations: 122.9 kB / 0.8554 GB, free: 143.6 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/1.686, allocations: 11.72 kB / 0.8554 GB, free: 143.6 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001016/1.687, allocations: 0.711 MB / 0.8561 GB, free: 143.6 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/1.687, allocations: 282.6 kB / 0.8564 GB, free: 143.5 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/1.687, allocations: 0 / 0.8564 GB, free: 143.5 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/1.687, allocations: 4 kB / 0.8564 GB, free: 143.5 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/1.688, allocations: 10.95 kB / 0.8564 GB, free: 143.5 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003171/1.691, allocations: 3.191 MB / 0.8595 GB, free: 140.3 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/1.691, allocations: 60.05 kB / 0.8596 GB, free: 140.3 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.282e-05/1.691, allocations: 31.52 kB / 0.8596 GB, free: 140.3 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000774/1.692, allocations: 0.5276 MB / 0.8601 GB, free: 139.8 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/1.692, allocations: 41.86 kB / 0.8602 GB, free: 139.8 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=8): time 2.635e-06/1.692, allocations: 0 / 0.8602 GB, free: 139.8 MB / 0.4952 GB Notification: Performance of matching and sorting (n=9): time 0.0006421/1.692, allocations: 142.2 kB / 0.8603 GB, free: 139.7 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/1.693, allocations: 51.41 kB / 0.8603 GB, free: 139.6 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/1.693, allocations: 204 kB / 0.8605 GB, free: 139.5 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/1.693, allocations: 25.7 kB / 0.8606 GB, free: 139.5 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/1.693, allocations: 296.8 kB / 0.8608 GB, free: 139.2 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/1.693, allocations: 41.73 kB / 0.8609 GB, free: 139.2 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/1.693, allocations: 0 / 0.8609 GB, free: 139.2 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.391e-05/1.693, allocations: 327.9 kB / 0.8612 GB, free: 138.9 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.372e-05/1.693, allocations: 31.47 kB / 0.8612 GB, free: 138.9 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/1.693, allocations: 322.5 kB / 0.8615 GB, free: 138.5 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/1.694, allocations: 107.6 kB / 0.8616 GB, free: 138.5 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.694, allocations: 3.906 kB / 0.8616 GB, free: 138.5 MB / 0.4952 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008262/1.695, allocations: 327.8 kB / 0.862 GB, free: 138.4 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/1.695, allocations: 11.72 kB / 0.862 GB, free: 138.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/1.695, allocations: 11.8 kB / 0.862 GB, free: 138.4 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/1.695, allocations: 15.59 kB / 0.862 GB, free: 138.4 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/1.695, allocations: 108.6 kB / 0.8621 GB, free: 138.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/1.695, allocations: 15.62 kB / 0.8621 GB, free: 138.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000424/1.696, allocations: 16.16 kB / 0.8621 GB, free: 138.4 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/1.696, allocations: 30.73 kB / 0.8622 GB, free: 138.4 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001134/1.696, allocations: 124.4 kB / 0.8623 GB, free: 138.3 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/1.696, allocations: 19.53 kB / 0.8623 GB, free: 138.2 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/1.696, allocations: 92.17 kB / 0.8624 GB, free: 138.2 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/1.696, allocations: 4.141 kB / 0.8624 GB, free: 138.2 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.696, allocations: 3.906 kB / 0.8624 GB, free: 138.2 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/1.696, allocations: 3.938 kB / 0.8624 GB, free: 138.2 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006367/1.697, allocations: 369.9 kB / 0.8627 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.697, allocations: 0 / 0.8627 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/1.697, allocations: 23.31 kB / 0.8628 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/1.697, allocations: 3.906 kB / 0.8628 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/1.697, allocations: 7.953 kB / 0.8628 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/1.697, allocations: 400 / 0.8628 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.697, allocations: 3.562 kB / 0.8628 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/1.698, allocations: 210.7 kB / 0.863 GB, free: 137.7 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/1.698, allocations: 107.4 kB / 0.8631 GB, free: 137.6 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/1.698, allocations: 3.906 kB / 0.8631 GB, free: 137.6 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/1.698, allocations: 3.906 kB / 0.8631 GB, free: 137.6 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/1.698, allocations: 7.125 kB / 0.8631 GB, free: 137.6 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/1.698, allocations: 11.45 kB / 0.8631 GB, free: 137.6 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0001196/1.698, allocations: 141.5 kB / 0.8632 GB, free: 137.6 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.21e-07/1.698, allocations: 0 / 0.8632 GB, free: 137.6 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0007196/1.699, allocations: 85.53 kB / 0.8633 GB, free: 137.5 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.000322/1.699, allocations: 182.9 kB / 0.8635 GB, free: 137.4 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0003351/1.7, allocations: 143.8 kB / 0.8636 GB, free: 137.4 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.7, allocations: 0 / 0.8636 GB, free: 137.4 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-05/1.7, allocations: 27.38 kB / 0.8637 GB, free: 137.4 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/1.7, allocations: 26.64 kB / 0.8637 GB, free: 137.4 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/1.701, allocations: 215.8 kB / 0.8639 GB, free: 137.2 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/1.701, allocations: 0.7223 MB / 0.8646 GB, free: 136.6 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/1.701, allocations: 33.62 kB / 0.8646 GB, free: 136.5 MB / 0.4952 GB Notification: Performance of SimCode: time 9.02e-07/1.701, allocations: 0 / 0.8646 GB, free: 136.5 MB / 0.4952 GB Notification: Performance of Templates: time 0.007608/1.709, allocations: 3.331 MB / 0.8679 GB, free: 135.9 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches