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.0009454/0.000945, allocations: 175.1 kB / 16.72 MB, free: 5.059 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.264/1.264, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0007001/0.0007, allocations: 78.44 kB / 271.2 MB, free: 8.246 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.3066/0.3066, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004196, allocations: 8 kB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.09479, allocations: 58.86 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.2682/0.363, allocations: 123.3 MB / 0.5997 GB, free: 10.54 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004195/0.3672, allocations: 4.356 MB / 0.6039 GB, free: 7.059 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3673, allocations: 0 / 0.6039 GB, free: 7.059 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.3676, allocations: 39.72 kB / 0.604 GB, free: 7.02 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.3691, allocations: 0.6458 MB / 0.6046 GB, free: 6.371 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.3694, allocations: 140.6 kB / 0.6047 GB, free: 6.238 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.3699, allocations: 394.1 kB / 0.6051 GB, free: 5.852 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.3699, allocations: 13.69 kB / 0.6051 GB, free: 5.84 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.3701, allocations: 155.4 kB / 0.6053 GB, free: 5.688 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.3704, allocations: 187.4 kB / 0.6055 GB, free: 5.504 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.3704, allocations: 8 kB / 0.6055 GB, free: 5.496 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.3715, allocations: 0.6978 MB / 0.6061 GB, free: 4.797 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.984e-05/0.3716, allocations: 43.81 kB / 0.6062 GB, free: 4.754 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.3718, allocations: 133.2 kB / 0.6063 GB, free: 4.617 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.3722, allocations: 317 kB / 0.6066 GB, free: 4.309 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3722, allocations: 0 / 0.6066 GB, free: 4.309 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3722, allocations: 0 / 0.6066 GB, free: 4.309 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.3722, allocations: 0 / 0.6066 GB, free: 4.309 MB / 426.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.0008302/0.3731, allocations: 0.542 MB / 0.6071 GB, free: 3.723 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3731, allocations: 12.03 kB / 0.6072 GB, free: 3.711 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.3732, allocations: 28.64 kB / 0.6072 GB, free: 3.684 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.3734, allocations: 228.1 kB / 0.6074 GB, free: 3.422 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.3736, allocations: 123.9 kB / 0.6075 GB, free: 3.277 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.3736, allocations: 20.56 kB / 0.6075 GB, free: 3.258 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.3741, allocations: 326.7 kB / 0.6078 GB, free: 2.918 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3741, allocations: 0.5 kB / 0.6078 GB, free: 2.918 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.3741, allocations: 12 kB / 0.6079 GB, free: 2.906 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/0.3741, allocations: 8 kB / 0.6079 GB, free: 2.898 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.3749, allocations: 0.7468 MB / 0.6086 GB, free: 2.152 MB / 426.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.001258/0.3761, allocations: 1.222 MB / 0.6098 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.3765, allocations: 166.3 kB / 0.6099 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.3766, allocations: 97.3 kB / 0.61 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002064/0.3787, allocations: 2.71 MB / 0.6127 GB, free: 13.33 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.3788, allocations: 38.56 kB / 0.6127 GB, free: 13.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.674e-06/0.3788, allocations: 0 / 0.6127 GB, free: 13.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005565/0.3793, allocations: 210.2 kB / 0.6129 GB, free: 13.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.3794, allocations: 59.34 kB / 0.613 GB, free: 13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3795, allocations: 214.9 kB / 0.6132 GB, free: 12.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3796, allocations: 29.7 kB / 0.6132 GB, free: 12.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3797, allocations: 214.7 kB / 0.6134 GB, free: 12.53 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.3798, allocations: 47.36 kB / 0.6135 GB, free: 12.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/0.3798, allocations: 12 kB / 0.6135 GB, free: 12.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.3799, allocations: 334.8 kB / 0.6138 GB, free: 12.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.38, allocations: 44.84 kB / 0.6138 GB, free: 12.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.3802, allocations: 328 kB / 0.6142 GB, free: 11.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.3806, allocations: 430 kB / 0.6146 GB, free: 11.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3806, allocations: 4 kB / 0.6146 GB, free: 11.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000503/0.3811, allocations: 377.7 kB / 0.6149 GB, free: 10.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3811, allocations: 12.06 kB / 0.6149 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.3811, allocations: 8 kB / 0.6149 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.3812, allocations: 19.98 kB / 0.615 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.3815, allocations: 111.8 kB / 0.6151 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.3815, allocations: 15.94 kB / 0.6151 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.3818, allocations: 23.84 kB / 0.6151 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.3818, allocations: 31.98 kB / 0.6151 GB, free: 10.48 MB / 442.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.3819, allocations: 157.6 kB / 0.6153 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.382, allocations: 15.81 kB / 0.6153 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.3823, allocations: 145.3 kB / 0.6154 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.3823, allocations: 7.938 kB / 0.6155 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3823, allocations: 4 kB / 0.6155 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3823, allocations: 0 / 0.6155 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.3828, allocations: 444 kB / 0.6159 GB, free: 9.648 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3828, allocations: 7.875 kB / 0.6159 GB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.383, allocations: 23.98 kB / 0.6159 GB, free: 9.617 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.383, allocations: 4 kB / 0.6159 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.383, allocations: 3.984 kB / 0.6159 GB, free: 9.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.383, allocations: 4.062 kB / 0.6159 GB, free: 9.605 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.383, allocations: 4 kB / 0.6159 GB, free: 9.602 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.3833, allocations: 224.8 kB / 0.6161 GB, free: 9.359 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.922e-05/0.3834, allocations: 104.9 kB / 0.6162 GB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.3834, allocations: 6.625 kB / 0.6162 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.3836, allocations: 12 kB / 0.6163 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.3836, allocations: 7.984 kB / 0.6163 GB, free: 9.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.3836, allocations: 11.98 kB / 0.6163 GB, free: 9.203 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.3838, allocations: 148.5 kB / 0.6164 GB, free: 9.059 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3838, allocations: 0 / 0.6164 GB, free: 9.059 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004432/0.3842, allocations: 91.98 kB / 0.6165 GB, free: 8.969 MB / 442.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 (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.0002691/0.3845, allocations: 163 kB / 0.6167 GB, free: 8.801 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.3848, allocations: 176.8 kB / 0.6168 GB, free: 8.633 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3848, allocations: 0 / 0.6168 GB, free: 8.633 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.95e-05/0.3848, allocations: 35.92 kB / 0.6169 GB, free: 8.598 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.3852, allocations: 50.42 kB / 0.6169 GB, free: 8.551 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000794/0.386, allocations: 0.6096 MB / 0.6175 GB, free: 7.906 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.3863, allocations: 0.7326 MB / 0.6182 GB, free: 7.148 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.574e-05/0.3864, allocations: 31.44 kB / 0.6183 GB, free: 7.117 MB / 442.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3864, allocations: 0 / 0.6183 GB, free: 7.117 MB / 442.7 MB Notification: Performance of Templates: time 0.004767/0.3911, allocations: 3.206 MB / 0.6214 GB, free: 3.922 MB / 442.7 MB 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/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_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches