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.001066/0.001066, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001096/0.001096, allocations: 184.1 kB / 18.71 MB, free: 4.348 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.285/1.285, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.1979/0.1979, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3556, allocations: 60.82 MB / 0.5185 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.006313/0.362, allocations: 5.244 MB / 0.5236 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002935/0.365, allocations: 2.651 MB / 0.5262 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.911e-05/0.3651, allocations: 1.188 kB / 0.5262 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.3653, allocations: 45 kB / 0.5262 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002752/0.3681, allocations: 1.09 MB / 0.5273 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.3685, allocations: 146.5 kB / 0.5274 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.3689, allocations: 298.5 kB / 0.5277 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.3689, allocations: 9.438 kB / 0.5277 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.37, allocations: 0.7532 MB / 0.5284 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.3703, allocations: 152.6 kB / 0.5286 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.3703, allocations: 6.875 kB / 0.5286 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.3724, allocations: 1.294 MB / 0.5299 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.464e-05/0.3725, allocations: 32.42 kB / 0.5299 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3726, allocations: 85 kB / 0.53 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.3736, allocations: 0.5151 MB / 0.5305 GB, free: 11.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3737, allocations: 0 / 0.5305 GB, free: 11.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3737, allocations: 0 / 0.5305 GB, free: 11.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3737, allocations: 0 / 0.5305 GB, free: 11.79 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.00106/0.3747, allocations: 0.5644 MB / 0.531 GB, free: 11.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3748, allocations: 8.594 kB / 0.531 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.3749, allocations: 52.86 kB / 0.5311 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004794/0.3753, allocations: 46.44 kB / 0.5311 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.3757, allocations: 218.5 kB / 0.5313 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.3757, allocations: 19.06 kB / 0.5314 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.3757, allocations: 18.72 kB / 0.5314 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.3761, allocations: 243.2 kB / 0.5316 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3762, allocations: 1.594 kB / 0.5316 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.3762, allocations: 6.625 kB / 0.5316 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3762, allocations: 7.656 kB / 0.5316 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.3766, allocations: 239.3 kB / 0.5318 GB, free: 10.64 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.001237/0.3778, allocations: 1.359 MB / 0.5332 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.378, allocations: 85.17 kB / 0.5333 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.815e-05/0.3781, allocations: 42.66 kB / 0.5333 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/0.3796, allocations: 2.043 MB / 0.5353 GB, free: 6.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.3799, allocations: 167 kB / 0.5354 GB, free: 6.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.3799, allocations: 0 / 0.5354 GB, free: 6.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009198/0.3808, allocations: 359.7 kB / 0.5358 GB, free: 6.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.3809, allocations: 274.5 kB / 0.5361 GB, free: 6.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.3811, allocations: 155.9 kB / 0.5362 GB, free: 5.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.3811, allocations: 32.23 kB / 0.5362 GB, free: 5.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.3812, allocations: 143.5 kB / 0.5364 GB, free: 5.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.3813, allocations: 68.03 kB / 0.5364 GB, free: 5.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.406e-05/0.3814, allocations: 61.58 kB / 0.5365 GB, free: 5.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3815, allocations: 322.1 kB / 0.5368 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.3816, allocations: 52.3 kB / 0.5368 GB, free: 5.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.3818, allocations: 188 kB / 0.537 GB, free: 5.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.3821, allocations: 255.2 kB / 0.5373 GB, free: 4.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3821, allocations: 1.156 kB / 0.5373 GB, free: 4.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004178/0.3825, allocations: 261.3 kB / 0.5375 GB, free: 4.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3826, allocations: 8.219 kB / 0.5375 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.3826, allocations: 5.188 kB / 0.5375 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3826, allocations: 10.06 kB / 0.5375 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.3831, allocations: 100.7 kB / 0.5376 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003437/0.3834, allocations: 0.599 MB / 0.5382 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.3836, allocations: 10.19 kB / 0.5382 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.3836, allocations: 20.12 kB / 0.5383 GB, free: 4.102 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.0001332/0.3838, allocations: 139.9 kB / 0.5384 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.3838, allocations: 21.89 kB / 0.5384 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004475/0.3843, allocations: 226.5 kB / 0.5386 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.3843, allocations: 1.219 kB / 0.5386 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3843, allocations: 5 kB / 0.5386 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3843, allocations: 5.312 kB / 0.5386 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.3848, allocations: 451.6 kB / 0.5391 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3848, allocations: 1.062 kB / 0.5391 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.3851, allocations: 49.14 kB / 0.5391 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.3851, allocations: 5.125 kB / 0.5391 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3851, allocations: 2.094 kB / 0.5391 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002874/0.3854, allocations: 0.5912 MB / 0.5397 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3854, allocations: 0 / 0.5397 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.3857, allocations: 145.8 kB / 0.5398 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.229e-05/0.3858, allocations: 99.84 kB / 0.5399 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.3858, allocations: 6.344 kB / 0.5399 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3859, allocations: 14.39 kB / 0.54 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.386, allocations: 17.66 kB / 0.54 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.386, allocations: 9.688 kB / 0.54 GB, free: 2.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.3861, allocations: 121.1 kB / 0.5401 GB, free: 2.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3861, allocations: 0 / 0.5401 GB, free: 2.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.3866, allocations: 141.6 kB / 0.5402 GB, free: 2.273 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.0009183/0.3876, allocations: 0.8339 MB / 0.541 GB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004794/0.388, allocations: 166.5 kB / 0.5412 GB, free: 1.492 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3881, allocations: 1.188 kB / 0.5412 GB, free: 1.492 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.3883, allocations: 49 kB / 0.5413 GB, free: 1.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.3887, allocations: 53.78 kB / 0.5413 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.3917, allocations: 2.482 MB / 0.5437 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.392, allocations: 0.7124 MB / 0.5444 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002338/0.3922, allocations: 76.44 kB / 0.5445 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.3924, allocations: 59.06 kB / 0.5446 GB, free: 14.49 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3924, allocations: 0 / 0.5446 GB, free: 14.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.4222, allocations: 6.562 MB / 0.551 GB, free: 9.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.75, allocations: 22.11 kB / 0.551 GB, free: 9.699 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/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