Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 108.8 kB / 17.77 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 184.1 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2053/0.2053, allocations: 44.19 MB / 336.8 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3466, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.006408/0.3531, allocations: 5.241 MB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003333/0.3564, allocations: 2.655 MB / 0.5262 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.3566, allocations: 1.938 kB / 0.5262 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.357, allocations: 39.33 kB / 0.5262 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003738/0.3608, allocations: 1.09 MB / 0.5273 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.3612, allocations: 152 kB / 0.5274 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005391/0.3617, allocations: 294.4 kB / 0.5277 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.972e-05/0.3618, allocations: 20.42 kB / 0.5277 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.3632, allocations: 0.7444 MB / 0.5284 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.3636, allocations: 152.5 kB / 0.5286 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.3636, allocations: 6.875 kB / 0.5286 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.3664, allocations: 1.295 MB / 0.5299 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.663e-05/0.3665, allocations: 37.42 kB / 0.5299 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.3667, allocations: 79.69 kB / 0.53 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.3677, allocations: 0.5213 MB / 0.5305 GB, free: 11.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3677, allocations: 4 kB / 0.5305 GB, free: 11.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3677, allocations: 0 / 0.5305 GB, free: 11.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3678, allocations: 1.094 kB / 0.5305 GB, free: 11.59 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001193/0.369, allocations: 0.578 MB / 0.531 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.369, allocations: 9.812 kB / 0.5311 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.828e-05/0.3691, allocations: 47.7 kB / 0.5311 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005053/0.3696, allocations: 47 kB / 0.5311 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.37, allocations: 210.4 kB / 0.5313 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.37, allocations: 22.47 kB / 0.5314 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.3701, allocations: 15.03 kB / 0.5314 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.3705, allocations: 240.3 kB / 0.5316 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3706, allocations: 4 kB / 0.5316 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.3706, allocations: 11.25 kB / 0.5316 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.3706, allocations: 4.281 kB / 0.5316 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000372/0.371, allocations: 235.1 kB / 0.5319 GB, free: 10.43 MB / 398.1 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.001402/0.3724, allocations: 1.367 MB / 0.5332 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.3726, allocations: 90.42 kB / 0.5333 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.317e-05/0.3727, allocations: 41.44 kB / 0.5333 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/0.3743, allocations: 2.039 MB / 0.5353 GB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/0.3746, allocations: 178.6 kB / 0.5355 GB, free: 6.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.3746, allocations: 0 / 0.5355 GB, free: 6.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009785/0.3756, allocations: 365.1 kB / 0.5358 GB, free: 6.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.3758, allocations: 268.9 kB / 0.5361 GB, free: 5.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.3759, allocations: 153.1 kB / 0.5362 GB, free: 5.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.3759, allocations: 32.17 kB / 0.5363 GB, free: 5.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.376, allocations: 146.9 kB / 0.5364 GB, free: 5.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.3761, allocations: 68.38 kB / 0.5365 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.714e-05/0.3762, allocations: 66.2 kB / 0.5365 GB, free: 5.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.3763, allocations: 327.5 kB / 0.5368 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.3764, allocations: 51.11 kB / 0.5369 GB, free: 5.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.3766, allocations: 183.9 kB / 0.5371 GB, free: 4.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.3769, allocations: 262.8 kB / 0.5373 GB, free: 4.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3769, allocations: 2.344 kB / 0.5373 GB, free: 4.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004567/0.3773, allocations: 257 kB / 0.5376 GB, free: 4.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.3774, allocations: 11.7 kB / 0.5376 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3774, allocations: 4.344 kB / 0.5376 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.3774, allocations: 7.469 kB / 0.5376 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.3779, allocations: 103.9 kB / 0.5377 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003382/0.3783, allocations: 0.5921 MB / 0.5383 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.3784, allocations: 17.8 kB / 0.5383 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.3785, allocations: 28.27 kB / 0.5383 GB, free: 3.863 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.3786, allocations: 131.7 kB / 0.5384 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.3787, allocations: 14.58 kB / 0.5384 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.3791, allocations: 245.1 kB / 0.5387 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.3791, allocations: 2.375 kB / 0.5387 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3792, allocations: 5.031 kB / 0.5387 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3792, allocations: 1.062 kB / 0.5387 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.3796, allocations: 431.1 kB / 0.5391 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3796, allocations: 5.062 kB / 0.5391 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.38, allocations: 61.28 kB / 0.5392 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.38, allocations: 6.156 kB / 0.5392 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.38, allocations: 2.344 kB / 0.5392 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002581/0.3803, allocations: 0.5865 MB / 0.5397 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3803, allocations: 0 / 0.5397 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.3805, allocations: 157.5 kB / 0.5399 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.3806, allocations: 100.4 kB / 0.54 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.3806, allocations: 6.188 kB / 0.54 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.3808, allocations: 7.281 kB / 0.54 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.3808, allocations: 8.609 kB / 0.54 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.3808, allocations: 10.14 kB / 0.54 GB, free: 2.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.497e-05/0.3809, allocations: 125 kB / 0.5401 GB, free: 2.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3809, allocations: 0 / 0.5401 GB, free: 2.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005643/0.3815, allocations: 137.2 kB / 0.5403 GB, free: 2.047 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008724/0.3824, allocations: 0.8353 MB / 0.5411 GB, free: 1.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005254/0.3829, allocations: 158.1 kB / 0.5412 GB, free: 1.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.383, allocations: 0.9688 kB / 0.5412 GB, free: 1.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.3831, allocations: 57.55 kB / 0.5413 GB, free: 1.242 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.3835, allocations: 46.56 kB / 0.5413 GB, free: 1.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.3866, allocations: 2.496 MB / 0.5438 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.3869, allocations: 0.7152 MB / 0.5445 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002429/0.3871, allocations: 76.83 kB / 0.5445 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3872, allocations: 55.66 kB / 0.5446 GB, free: 14.25 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3872, allocations: 192 / 0.5446 GB, free: 14.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.4116, allocations: 6.511 MB / 0.551 GB, free: 9.598 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.75, allocations: 11.59 kB / 0.551 GB, free: 9.586 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches