Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.001276/0.001276, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001417/0.001417, allocations: 208.7 kB / 23.73 MB, free: 4.387 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.602/1.602, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2388/0.2388, allocations: 44.93 MB / 358.8 MB, free: 6.086 MB / 286.1 MB " [Timeout remaining time 180] 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.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.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 71.88 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3589, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01503/0.374, allocations: 10.16 MB / 0.5669 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01442/0.3884, allocations: 10.3 MB / 0.577 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.3886, allocations: 0 / 0.577 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.389, allocations: 67.52 kB / 0.5771 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.3994, allocations: 3.099 MB / 0.5801 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.3999, allocations: 155.2 kB / 0.5802 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006503/0.4064, allocations: 3.955 MB / 0.5841 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.493e-05/0.4064, allocations: 16.52 kB / 0.5841 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.4067, allocations: 143.5 kB / 0.5843 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01051/0.4172, allocations: 7.254 MB / 0.5913 GB, free: 4.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.536e-05/0.4173, allocations: 12 kB / 0.5913 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005317/0.4226, allocations: 2.021 MB / 0.5933 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.4228, allocations: 43.81 kB / 0.5934 GB, free: 2.199 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.423, allocations: 107.5 kB / 0.5935 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004598/0.4276, allocations: 1.539 MB / 0.595 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4276, allocations: 4 kB / 0.595 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4276, allocations: 0 / 0.595 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.4276, allocations: 0 / 0.595 GB, free: 0.5469 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002663/0.4302, allocations: 0.8583 MB / 0.5958 GB, free: 15.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.4303, allocations: 16.02 kB / 0.5958 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.577e-05/0.4304, allocations: 62.67 kB / 0.5959 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006177/0.431, allocations: 76.73 kB / 0.596 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.4314, allocations: 194.2 kB / 0.5961 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.4315, allocations: 21.03 kB / 0.5962 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.4315, allocations: 24.38 kB / 0.5962 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.4326, allocations: 0.537 MB / 0.5967 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.4326, allocations: 3.938 kB / 0.5967 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.4326, allocations: 12 kB / 0.5967 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.4327, allocations: 8 kB / 0.5967 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.4339, allocations: 0.6771 MB / 0.5974 GB, free: 13.95 MB / 446.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.007237/0.4411, allocations: 2.883 MB / 0.6002 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.4417, allocations: 159.1 kB / 0.6004 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.4418, allocations: 57.53 kB / 0.6004 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02537/0.4672, allocations: 7.702 MB / 0.6079 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008118/0.468, allocations: 325.9 kB / 0.6082 GB, free: 2.652 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.635e-06/0.468, allocations: 4 kB / 0.6083 GB, free: 2.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001485/0.4695, allocations: 431.2 kB / 0.6087 GB, free: 2.223 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002569/0.4698, allocations: 474.6 kB / 0.6091 GB, free: 1.648 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.47, allocations: 205.9 kB / 0.6093 GB, free: 1.438 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.47, allocations: 33.69 kB / 0.6093 GB, free: 1.398 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.4701, allocations: 188.2 kB / 0.6095 GB, free: 1.211 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.061e-05/0.4702, allocations: 103.2 kB / 0.6096 GB, free: 1.109 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.4703, allocations: 94.06 kB / 0.6097 GB, free: 1.012 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4705, allocations: 334.8 kB / 0.61 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.4706, allocations: 60.84 kB / 0.6101 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.471, allocations: 310.7 kB / 0.6104 GB, free: 192 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005895/0.4716, allocations: 433 kB / 0.6108 GB, free: 15.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.4716, allocations: 4 kB / 0.6108 GB, free: 15.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007021/0.4723, allocations: 397.4 kB / 0.6112 GB, free: 15.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.4723, allocations: 10.97 kB / 0.6112 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.4723, allocations: 11.98 kB / 0.6112 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.4723, allocations: 15.94 kB / 0.6112 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.4727, allocations: 103.8 kB / 0.6113 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.4727, allocations: 15.94 kB / 0.6113 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.4729, allocations: 51.61 kB / 0.6114 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.473, allocations: 32.33 kB / 0.6114 GB, free: 15.01 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.4732, allocations: 161.6 kB / 0.6116 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.281e-05/0.4732, allocations: 31.84 kB / 0.6116 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.4744, allocations: 0.8454 MB / 0.6124 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.4744, allocations: 4 kB / 0.6124 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4744, allocations: 4 kB / 0.6124 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4744, allocations: 3.938 kB / 0.6124 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.4756, allocations: 0.8937 MB / 0.6133 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.4756, allocations: 0 / 0.6133 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.4757, allocations: 35.92 kB / 0.6133 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/0.4757, allocations: 16.23 kB / 0.6134 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.4758, allocations: 8 kB / 0.6134 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4758, allocations: 4 kB / 0.6134 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.4758, allocations: 4 kB / 0.6134 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.4762, allocations: 376.8 kB / 0.6137 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.4763, allocations: 35.66 kB / 0.6138 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/0.4764, allocations: 51.62 kB / 0.6138 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.4766, allocations: 7.984 kB / 0.6138 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.4766, allocations: 23.91 kB / 0.6138 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.4766, allocations: 12 kB / 0.6139 GB, free: 12.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000339/0.477, allocations: 290.9 kB / 0.6141 GB, free: 12.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.477, allocations: 0 / 0.6141 GB, free: 12.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001306/0.4783, allocations: 442.5 kB / 0.6146 GB, free: 11.64 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001978/0.4803, allocations: 1.436 MB / 0.616 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004264/0.4807, allocations: 221.1 kB / 0.6162 GB, free: 9.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.4807, allocations: 4 kB / 0.6162 GB, free: 9.926 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.4808, allocations: 80.66 kB / 0.6162 GB, free: 9.848 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007526/0.4816, allocations: 114.3 kB / 0.6164 GB, free: 9.738 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.309/1.791, allocations: 0.5821 GB / 1.198 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/1.791, allocations: 207.1 kB / 1.199 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004947/1.791, allocations: 155.8 kB / 1.199 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/1.792, allocations: 155.4 kB / 1.199 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of SimCode: time 1.472e-06/1.792, allocations: 4 kB / 1.199 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3348/2.126, allocations: 19.35 MB / 1.218 GB, free: 236.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/14.1, allocations: 12.39 kB / 1.218 GB, free: 236.8 MB / 0.6231 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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: 19.446193538606167]