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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.0009423/0.0009424, allocations: 183.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008625/0.0008621, allocations: 90.59 kB / 267 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.311/0.311, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.67e-05/2.674e-05, allocations: 4 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1019, allocations: 58.84 MB / 484.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.769/0.8709, allocations: 377.4 MB / 0.8414 GB, free: 32.14 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.8712, allocations: 69.34 kB / 0.8414 GB, free: 32.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0426/0.9138, allocations: 21.24 MB / 0.8622 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9139, allocations: 0 / 0.8622 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.9139, allocations: 4 kB / 0.8622 GB, free: 14.52 MB / 0.4948 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.0007004/0.9146, allocations: 0.573 MB / 0.8627 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.9146, allocations: 8.031 kB / 0.8627 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.9147, allocations: 23.81 kB / 0.8628 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.9149, allocations: 228.8 kB / 0.863 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.147e-05/0.915, allocations: 122.2 kB / 0.8631 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.9151, allocations: 19.12 kB / 0.8631 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.9154, allocations: 315.2 kB / 0.8634 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.9154, allocations: 0 / 0.8634 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.9155, allocations: 15.36 kB / 0.8634 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.9155, allocations: 8 kB / 0.8634 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/0.916, allocations: 0.7368 MB / 0.8642 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009222/0.917, allocations: 1.147 MB / 0.8653 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.9173, allocations: 161 kB / 0.8654 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.9174, allocations: 90.31 kB / 0.8655 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/0.919, allocations: 2.855 MB / 0.8683 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.919, allocations: 45.75 kB / 0.8684 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.919, allocations: 0 / 0.8684 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0004613/0.9195, allocations: 201.2 kB / 0.8685 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.9195, allocations: 55.41 kB / 0.8686 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.9196, allocations: 190 kB / 0.8688 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.9196, allocations: 33.27 kB / 0.8688 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.9197, allocations: 201.6 kB / 0.869 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.9197, allocations: 54.45 kB / 0.8691 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.9198, allocations: 11.88 kB / 0.8691 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.9198, allocations: 332.8 kB / 0.8694 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.9199, allocations: 47.56 kB / 0.8694 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.92, allocations: 314.8 kB / 0.8697 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.9202, allocations: 105.7 kB / 0.8698 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.9202, allocations: 4 kB / 0.8698 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004032/0.9206, allocations: 372.1 kB / 0.8702 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.9206, allocations: 12.25 kB / 0.8702 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.9206, allocations: 8 kB / 0.8702 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.9206, allocations: 19.95 kB / 0.8702 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.9209, allocations: 103.8 kB / 0.8703 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.9209, allocations: 15.94 kB / 0.8703 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.9211, allocations: 26.94 kB / 0.8704 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.9212, allocations: 31.73 kB / 0.8704 GB, free: 5.941 MB / 0.4948 GB 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 () * 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 5.943e-05/0.9212, allocations: 135.4 kB / 0.8705 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.9213, allocations: 23.81 kB / 0.8706 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.9216, allocations: 174.1 kB / 0.8707 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.9216, allocations: 4 kB / 0.8707 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9216, allocations: 3.953 kB / 0.8707 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.9216, allocations: 0 / 0.8707 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/0.922, allocations: 448.3 kB / 0.8712 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.922, allocations: 4 kB / 0.8712 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.9221, allocations: 35.5 kB / 0.8712 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.9221, allocations: 11.95 kB / 0.8712 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.9221, allocations: 0 / 0.8712 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.9222, allocations: 4 kB / 0.8712 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9222, allocations: 0 / 0.8712 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.9223, allocations: 265.7 kB / 0.8715 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.9224, allocations: 115.9 kB / 0.8716 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.9224, allocations: 4 kB / 0.8716 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.9226, allocations: 7.875 kB / 0.8716 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.9227, allocations: 11.98 kB / 0.8716 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.9227, allocations: 11.42 kB / 0.8716 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.357e-05/0.9228, allocations: 147.9 kB / 0.8717 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9228, allocations: 0 / 0.8717 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003959/0.9232, allocations: 99.05 kB / 0.8718 GB, free: 4.469 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (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.0002126/0.9234, allocations: 184.8 kB / 0.872 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.9236, allocations: 173.7 kB / 0.8722 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9236, allocations: 4.062 kB / 0.8722 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.9237, allocations: 31.88 kB / 0.8722 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.9239, allocations: 38.67 kB / 0.8723 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2205/1.144, allocations: 5.719 MB / 0.8778 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/1.145, allocations: 0.7346 MB / 0.8786 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003087/1.145, allocations: 61.56 kB / 0.8786 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/1.145, allocations: 28.16 kB / 0.8786 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of SimCode: time 7.62e-07/1.145, allocations: 1.375 kB / 0.8786 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.007276/1.152, allocations: 3.476 MB / 0.882 GB, free: 149 MB / 0.4948 GB 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches