Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 215.3 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2385/0.2385, allocations: 46.93 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 64.03 kB / 0.4962 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3433, allocations: 66.04 MB / 0.5607 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02046/0.3637, allocations: 14.03 MB / 0.5744 GB, free: 6.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0366/0.4003, allocations: 26.77 MB / 0.6005 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002899/0.4006, allocations: 8 kB / 0.6006 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004845/0.4011, allocations: 99.39 kB / 0.6007 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0289/0.43, allocations: 8.557 MB / 0.609 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.431, allocations: 358.3 kB / 0.6093 GB, free: 2.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004687/0.4357, allocations: 2.01 MB / 0.6113 GB, free: 456 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.4358, allocations: 16.58 kB / 0.6113 GB, free: 436 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006493/0.4365, allocations: 274.9 kB / 0.6116 GB, free: 160 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007334/0.4438, allocations: 3.274 MB / 0.6148 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.703e-05/0.4439, allocations: 8 kB / 0.6148 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02625/0.4701, allocations: 11.67 MB / 0.6262 GB, free: 1.137 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.4703, allocations: 47.77 kB / 0.6262 GB, free: 1.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.4706, allocations: 139.3 kB / 0.6264 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02139/0.492, allocations: 6.77 MB / 0.633 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.492, allocations: 4 kB / 0.633 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.492, allocations: 0 / 0.633 GB, free: 10.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.492, allocations: 0 / 0.633 GB, free: 10.16 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.005203/0.4972, allocations: 1.591 MB / 0.6345 GB, free: 8.535 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.4973, allocations: 12.03 kB / 0.6345 GB, free: 8.523 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.43e-05/0.4974, allocations: 66.72 kB / 0.6346 GB, free: 8.449 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.4989, allocations: 196.5 kB / 0.6348 GB, free: 8.258 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.4993, allocations: 210 kB / 0.635 GB, free: 8.027 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.4994, allocations: 29.03 kB / 0.635 GB, free: 8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.429e-05/0.4994, allocations: 31.94 kB / 0.6351 GB, free: 7.969 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.5017, allocations: 0.7644 MB / 0.6358 GB, free: 7.152 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.5017, allocations: 3.938 kB / 0.6358 GB, free: 7.148 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.5017, allocations: 12 kB / 0.6358 GB, free: 7.137 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.5018, allocations: 8 kB / 0.6358 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.504, allocations: 0.8258 MB / 0.6366 GB, free: 6.305 MB / 478.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.003814/0.5078, allocations: 2.425 MB / 0.639 GB, free: 3.727 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.5091, allocations: 352.8 kB / 0.6393 GB, free: 3.375 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.5092, allocations: 60.83 kB / 0.6394 GB, free: 3.312 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6187/1.128, allocations: 99.54 MB / 0.7366 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002405/1.13, allocations: 453.9 kB / 0.737 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 4.037e-06/1.13, allocations: 0 / 0.737 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.007623/1.138, allocations: 1.145 MB / 0.7381 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.138, allocations: 376.8 kB / 0.7385 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/1.138, allocations: 178.4 kB / 0.7387 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/1.138, allocations: 35.7 kB / 0.7387 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/1.139, allocations: 188 kB / 0.7389 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/1.139, allocations: 123 kB / 0.739 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/1.139, allocations: 119.6 kB / 0.7391 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.926e-05/1.139, allocations: 334.2 kB / 0.7394 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/1.139, allocations: 75.39 kB / 0.7395 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/1.14, allocations: 351.3 kB / 0.7398 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008837/1.141, allocations: 480.4 kB / 0.7403 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.141, allocations: 6.703 kB / 0.7403 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001476/1.142, allocations: 472.3 kB / 0.7408 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.142, allocations: 11.72 kB / 0.7408 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/1.142, allocations: 8.844 kB / 0.7408 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/1.142, allocations: 11.72 kB / 0.7408 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/1.145, allocations: 210.9 kB / 0.741 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005341/1.145, allocations: 1.19 MB / 0.7422 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005415/1.146, allocations: 25.66 kB / 0.7422 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.529e-05/1.146, allocations: 48.53 kB / 0.7422 GB, free: 163.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002673/1.146, allocations: 162.5 kB / 0.7424 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/1.147, allocations: 30.05 kB / 0.7424 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/1.151, allocations: 2.991 MB / 0.7453 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/1.151, allocations: 26.19 kB / 0.7454 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.151, allocations: 3.969 kB / 0.7454 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/1.151, allocations: 3.969 kB / 0.7454 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/1.152, allocations: 0.9686 MB / 0.7463 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/1.152, allocations: 10.95 kB / 0.7463 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000917/1.153, allocations: 96.38 kB / 0.7464 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002432/1.153, allocations: 163.2 kB / 0.7466 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/1.153, allocations: 15.31 kB / 0.7466 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004159/1.154, allocations: 0.6507 MB / 0.7472 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.154, allocations: 3.969 kB / 0.7472 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/1.155, allocations: 0.9882 MB / 0.7482 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/1.155, allocations: 63.84 kB / 0.7482 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/1.156, allocations: 94.16 kB / 0.7483 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006304/1.156, allocations: 15.39 kB / 0.7484 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/1.156, allocations: 30.77 kB / 0.7484 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/1.156, allocations: 19.52 kB / 0.7484 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008982/1.157, allocations: 475.8 kB / 0.7489 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.157, allocations: 0 / 0.7489 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006714/1.164, allocations: 1.633 MB / 0.7504 GB, free: 160.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009254/1.173, allocations: 3.193 MB / 0.7536 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001559/1.175, allocations: 0.5357 MB / 0.7541 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.175, allocations: 4 kB / 0.7541 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003848/1.175, allocations: 297.6 kB / 0.7544 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008869/1.176, allocations: 120.4 kB / 0.7545 GB, free: 157 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6975/1.874, allocations: 353.3 MB / 1.1 GB, free: 137.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/1.874, allocations: 0.9859 MB / 1.1 GB, free: 136 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005852/1.874, allocations: 0.5016 MB / 1.101 GB, free: 135.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/1.875, allocations: 315.3 kB / 1.101 GB, free: 135.2 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/1.875, allocations: 3.938 kB / 1.101 GB, free: 135.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/1.98, allocations: 67.18 MB / 1.167 GB, free: 68.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.62/19.6, allocations: 0 / 1.167 GB, free: 68.2 MB / 0.6387 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.03787001199089]