Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.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.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MoistAir",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.0008585/0.0008585, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.188/1.188, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006867/0.0006867, allocations: 94.3 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.2746/0.2746, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 16 kB / 432.1 MB, free: 5.508 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.08957, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2934/0.383, allocations: 138.1 MB / 0.6142 GB, free: 12.33 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3844, allocations: 1.131 MB / 0.6154 GB, free: 11.2 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.3844, allocations: 2.719 kB / 0.6154 GB, free: 11.2 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.3847, allocations: 35.81 kB / 0.6154 GB, free: 11.17 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.3866, allocations: 0.7158 MB / 0.6161 GB, free: 10.47 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.306e-06/0.3866, allocations: 0 / 0.6161 GB, free: 10.47 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.3867, allocations: 67.75 kB / 0.6162 GB, free: 10.4 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.337e-05/0.3868, allocations: 0 / 0.6162 GB, free: 10.4 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.3868, allocations: 19.92 kB / 0.6162 GB, free: 10.38 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.3869, allocations: 27.91 kB / 0.6162 GB, free: 10.36 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.653e-06/0.3869, allocations: 0 / 0.6162 GB, free: 10.36 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.3895, allocations: 1.727 MB / 0.6179 GB, free: 8.625 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.86e-05/0.3896, allocations: 15.92 kB / 0.6179 GB, free: 8.609 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.3896, allocations: 37.64 kB / 0.6179 GB, free: 8.566 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008795/0.3905, allocations: 0.5439 MB / 0.6185 GB, free: 8.023 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.3905, allocations: 4 kB / 0.6185 GB, free: 8.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3905, allocations: 0 / 0.6185 GB, free: 8.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.3905, allocations: 0 / 0.6185 GB, free: 8.02 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00064/0.3912, allocations: 457 kB / 0.6189 GB, free: 7.527 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3912, allocations: 12.03 kB / 0.6189 GB, free: 7.516 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.3913, allocations: 34.69 kB / 0.619 GB, free: 7.473 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.3913, allocations: 10.97 kB / 0.619 GB, free: 7.465 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.042e-05/0.3914, allocations: 168.1 kB / 0.6191 GB, free: 7.262 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3914, allocations: 0 / 0.6191 GB, free: 7.262 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.3914, allocations: 4 kB / 0.6191 GB, free: 7.258 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.3916, allocations: 73.66 kB / 0.6192 GB, free: 7.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3916, allocations: 0 / 0.6192 GB, free: 7.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/0.3916, allocations: 4 kB / 0.6192 GB, free: 7.176 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.3916, allocations: 8.734 kB / 0.6192 GB, free: 7.168 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.234e-05/0.3917, allocations: 47.92 kB / 0.6193 GB, free: 7.121 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.3921, allocations: 292.7 kB / 0.6195 GB, free: 6.785 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.93e-05/0.3922, allocations: 34.59 kB / 0.6196 GB, free: 6.742 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.3923, allocations: 20.91 kB / 0.6196 GB, free: 6.719 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.3924, allocations: 89.09 kB / 0.6197 GB, free: 6.613 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.3924, allocations: 38.56 kB / 0.6197 GB, free: 6.566 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3924, allocations: 3.469 kB / 0.6197 GB, free: 6.566 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.000149/0.3926, allocations: 49.62 kB / 0.6198 GB, free: 6.512 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.3926, allocations: 59.33 kB / 0.6198 GB, free: 6.441 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.137e-05/0.3927, allocations: 97.86 kB / 0.6199 GB, free: 6.336 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.3927, allocations: 25.7 kB / 0.6199 GB, free: 6.305 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.3928, allocations: 103.9 kB / 0.62 GB, free: 6.199 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/0.3928, allocations: 7.891 kB / 0.62 GB, free: 6.191 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.3928, allocations: 4 kB / 0.62 GB, free: 6.188 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.3929, allocations: 314.8 kB / 0.6203 GB, free: 5.871 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.3929, allocations: 4 kB / 0.6203 GB, free: 5.867 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.124e-05/0.3929, allocations: 35.42 kB / 0.6204 GB, free: 5.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.719e-05/0.393, allocations: 51.36 kB / 0.6204 GB, free: 5.758 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.393, allocations: 0 / 0.6204 GB, free: 5.758 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.765e-05/0.3931, allocations: 57.62 kB / 0.6205 GB, free: 5.695 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3931, allocations: 8 kB / 0.6205 GB, free: 5.688 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3931, allocations: 3.938 kB / 0.6205 GB, free: 5.684 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3932, allocations: 96 / 0.6205 GB, free: 5.684 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.3932, allocations: 31.86 kB / 0.6205 GB, free: 5.652 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.3932, allocations: 0 / 0.6205 GB, free: 5.652 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.3933, allocations: 8.719 kB / 0.6205 GB, free: 5.645 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3933, allocations: 4 kB / 0.6205 GB, free: 5.641 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * 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 7.26e-05/0.3934, allocations: 113.8 kB / 0.6206 GB, free: 5.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.3934, allocations: 0 / 0.6206 GB, free: 5.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.3935, allocations: 65.66 kB / 0.6207 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3935, allocations: 0 / 0.6207 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3935, allocations: 3.938 kB / 0.6207 GB, free: 5.449 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3936, allocations: 0 / 0.6207 GB, free: 5.449 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.3937, allocations: 163 kB / 0.6209 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3937, allocations: 0 / 0.6209 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.3937, allocations: 4 kB / 0.6209 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3938, allocations: 0 / 0.6209 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3938, allocations: 11.92 kB / 0.6209 GB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3938, allocations: 2.062 kB / 0.6209 GB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3938, allocations: 0 / 0.6209 GB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.664e-05/0.3939, allocations: 140 kB / 0.621 GB, free: 5.074 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/0.3939, allocations: 81.02 kB / 0.6211 GB, free: 4.977 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.3939, allocations: 7.938 kB / 0.6211 GB, free: 4.969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.729e-05/0.394, allocations: 7.172 kB / 0.6211 GB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.394, allocations: 3.984 kB / 0.6211 GB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.394, allocations: 0 / 0.6211 GB, free: 4.961 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.857e-05/0.3941, allocations: 83.27 kB / 0.6212 GB, free: 4.879 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3941, allocations: 7.938 kB / 0.6212 GB, free: 4.871 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003861/0.3945, allocations: 99.86 kB / 0.6213 GB, free: 4.773 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.000792/0.3953, allocations: 0.8143 MB / 0.6221 GB, free: 3.934 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.999e-05/0.3953, allocations: 27.92 kB / 0.6221 GB, free: 3.906 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3954, allocations: 4.188 kB / 0.6221 GB, free: 3.902 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-05/0.3954, allocations: 8 kB / 0.6221 GB, free: 3.895 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.3956, allocations: 7.984 kB / 0.6221 GB, free: 3.887 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.3961, allocations: 258 kB / 0.6224 GB, free: 3.598 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.3963, allocations: 0.6809 MB / 0.623 GB, free: 2.891 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.3964, allocations: 27.42 kB / 0.6231 GB, free: 2.867 MB / 442.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3964, allocations: 0 / 0.6231 GB, free: 2.867 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.978/3.375, allocations: 2.456 MB / 0.6255 GB, free: 428 kB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches