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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008526/0.0008527, allocations: 174.2 kB / 16.72 MB, free: 5.078 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.285/1.285, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007203/0.0007203, allocations: 96.25 kB / 271.2 MB, free: 8.25 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.3181/0.3181, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 16 kB / 432.1 MB, free: 5.742 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 58.84 MB / 490.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3109/0.4303, allocations: 123.3 MB / 0.5998 GB, free: 10.53 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00441/0.4348, allocations: 4.361 MB / 0.604 GB, free: 6.98 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.435, allocations: 0 / 0.604 GB, free: 6.98 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.4353, allocations: 39.72 kB / 0.6041 GB, free: 6.941 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.4369, allocations: 0.6337 MB / 0.6047 GB, free: 6.305 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.4373, allocations: 147.8 kB / 0.6048 GB, free: 6.164 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005704/0.4379, allocations: 402.1 kB / 0.6052 GB, free: 5.77 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.212e-05/0.438, allocations: 9.688 kB / 0.6052 GB, free: 5.762 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.4382, allocations: 151.5 kB / 0.6054 GB, free: 5.613 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.4385, allocations: 187.4 kB / 0.6056 GB, free: 5.43 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.4385, allocations: 8 kB / 0.6056 GB, free: 5.422 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.4399, allocations: 0.6978 MB / 0.6062 GB, free: 4.723 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.808e-05/0.44, allocations: 51.73 kB / 0.6063 GB, free: 4.672 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.4401, allocations: 121.3 kB / 0.6064 GB, free: 4.547 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.4406, allocations: 321.3 kB / 0.6067 GB, free: 4.234 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4406, allocations: 0 / 0.6067 GB, free: 4.234 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4406, allocations: 0 / 0.6067 GB, free: 4.234 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.4406, allocations: 0 / 0.6067 GB, free: 4.234 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.000902/0.4415, allocations: 0.5382 MB / 0.6072 GB, free: 3.652 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.056e-05/0.4416, allocations: 12.03 kB / 0.6072 GB, free: 3.641 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.16e-05/0.4417, allocations: 62.72 kB / 0.6073 GB, free: 3.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.4418, allocations: 32.66 kB / 0.6073 GB, free: 3.539 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.442, allocations: 224.1 kB / 0.6076 GB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.4422, allocations: 124.6 kB / 0.6077 GB, free: 3.137 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.4422, allocations: 24.36 kB / 0.6077 GB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.4427, allocations: 326.7 kB / 0.608 GB, free: 2.773 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4427, allocations: 7.938 kB / 0.608 GB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.4428, allocations: 4 kB / 0.608 GB, free: 2.762 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.4428, allocations: 11.98 kB / 0.608 GB, free: 2.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.4435, allocations: 0.7391 MB / 0.6088 GB, free: 2.012 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.0012/0.4447, allocations: 1.23 MB / 0.61 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.4451, allocations: 174.6 kB / 0.6101 GB, free: 500 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.4452, allocations: 104.3 kB / 0.6102 GB, free: 396 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002063/0.4473, allocations: 2.695 MB / 0.6128 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.4473, allocations: 30.56 kB / 0.6129 GB, free: 13.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 2.875e-06/0.4473, allocations: 0 / 0.6129 GB, free: 13.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005459/0.4479, allocations: 218.3 kB / 0.6131 GB, free: 12.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.4479, allocations: 55.39 kB / 0.6131 GB, free: 12.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.4481, allocations: 210.9 kB / 0.6133 GB, free: 12.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.4481, allocations: 33.7 kB / 0.6134 GB, free: 12.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.4482, allocations: 214.8 kB / 0.6136 GB, free: 12.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.4483, allocations: 55.28 kB / 0.6136 GB, free: 12.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.4483, allocations: 8 kB / 0.6136 GB, free: 12.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4484, allocations: 326.8 kB / 0.614 GB, free: 12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.475e-05/0.4485, allocations: 44.84 kB / 0.614 GB, free: 11.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.4487, allocations: 324 kB / 0.6143 GB, free: 11.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.4491, allocations: 434.1 kB / 0.6147 GB, free: 10.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4491, allocations: 4 kB / 0.6147 GB, free: 10.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005141/0.4496, allocations: 381.1 kB / 0.6151 GB, free: 10.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.4496, allocations: 11.98 kB / 0.6151 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4497, allocations: 12 kB / 0.6151 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.4497, allocations: 15.94 kB / 0.6151 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.45, allocations: 104.5 kB / 0.6152 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.45, allocations: 23.92 kB / 0.6152 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.4502, allocations: 27.84 kB / 0.6153 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.4503, allocations: 28 kB / 0.6153 GB, free: 10.34 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.0001153/0.4504, allocations: 145.7 kB / 0.6154 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.4505, allocations: 19.81 kB / 0.6155 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.4507, allocations: 159.6 kB / 0.6156 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.4508, allocations: 0 / 0.6156 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4508, allocations: 3.938 kB / 0.6156 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4508, allocations: 4 kB / 0.6156 GB, free: 9.996 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.4513, allocations: 434.3 kB / 0.616 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4513, allocations: 8.047 kB / 0.616 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.4514, allocations: 35.92 kB / 0.6161 GB, free: 9.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4514, allocations: 0 / 0.6161 GB, free: 9.469 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.4514, allocations: 4 kB / 0.6161 GB, free: 9.465 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4515, allocations: 0 / 0.6161 GB, free: 9.465 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4515, allocations: 0 / 0.6161 GB, free: 9.465 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.4517, allocations: 226.9 kB / 0.6163 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.051e-05/0.4517, allocations: 115.5 kB / 0.6164 GB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.4518, allocations: 0 / 0.6164 GB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.452, allocations: 7.984 kB / 0.6164 GB, free: 9.086 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.452, allocations: 23.86 kB / 0.6164 GB, free: 9.062 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.452, allocations: 4 kB / 0.6164 GB, free: 9.059 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.4522, allocations: 148.5 kB / 0.6166 GB, free: 8.914 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4522, allocations: 0 / 0.6166 GB, free: 8.914 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004385/0.4526, allocations: 96 kB / 0.6167 GB, free: 8.82 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.0005896/0.4532, allocations: 0.8113 MB / 0.6175 GB, free: 7.977 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002698/0.4535, allocations: 174 kB / 0.6176 GB, free: 7.809 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4535, allocations: 0 / 0.6176 GB, free: 7.809 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.254e-05/0.4536, allocations: 39.92 kB / 0.6177 GB, free: 7.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.454, allocations: 52.98 kB / 0.6177 GB, free: 7.723 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.4557, allocations: 1.411 MB / 0.6191 GB, free: 6.117 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.4559, allocations: 0.7287 MB / 0.6198 GB, free: 5.363 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.657e-05/0.456, allocations: 67.41 kB / 0.6199 GB, free: 5.297 MB / 442.7 MB Notification: Performance of SimCode: time 3.91e-07/0.456, allocations: 0 / 0.6199 GB, free: 5.297 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.88/3.336, allocations: 3.55 MB / 0.6233 GB, free: 1.758 MB / 442.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > 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