Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001367/0.001367, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001409/0.001409, allocations: 203.3 kB / 23.73 MB, free: 4.379 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2248/0.2248, allocations: 46.96 MB / 360.9 MB, free: 4.145 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.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.91 kB / 0.4962 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3258, allocations: 66.04 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01338/0.3392, allocations: 10.15 MB / 0.5706 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.3523, allocations: 10.3 MB / 0.5806 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.3525, allocations: 0 / 0.5806 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.3528, allocations: 67.52 kB / 0.5807 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.3633, allocations: 3.095 MB / 0.5837 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.3638, allocations: 159.4 kB / 0.5839 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006749/0.3705, allocations: 3.955 MB / 0.5877 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.232e-05/0.3706, allocations: 20.58 kB / 0.5877 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.3708, allocations: 155.5 kB / 0.5879 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01147/0.3823, allocations: 7.246 MB / 0.595 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.788e-05/0.3824, allocations: 12 kB / 0.595 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00515/0.3875, allocations: 2.115 MB / 0.597 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3876, allocations: 47.77 kB / 0.5971 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.3878, allocations: 107.5 kB / 0.5972 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003319/0.3911, allocations: 1.543 MB / 0.5987 GB, free: 13.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3911, allocations: 0 / 0.5987 GB, free: 13.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3911, allocations: 0 / 0.5987 GB, free: 13.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3911, allocations: 0 / 0.5987 GB, free: 13.14 MB / 446.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.00216/0.3933, allocations: 0.8583 MB / 0.5995 GB, free: 12.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3933, allocations: 15.97 kB / 0.5996 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.443e-05/0.3934, allocations: 62.73 kB / 0.5996 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006075/0.394, allocations: 80.72 kB / 0.5997 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.3944, allocations: 194.2 kB / 0.5999 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.3944, allocations: 17.03 kB / 0.5999 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.3945, allocations: 28.38 kB / 0.5999 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.3955, allocations: 0.5369 MB / 0.6004 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3955, allocations: 0 / 0.6004 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.3956, allocations: 12 kB / 0.6005 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.3956, allocations: 7.938 kB / 0.6005 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.3968, allocations: 0.681 MB / 0.6011 GB, free: 10.54 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.007474/0.4042, allocations: 2.879 MB / 0.6039 GB, free: 7.582 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/0.4048, allocations: 163 kB / 0.6041 GB, free: 7.414 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.325e-05/0.4049, allocations: 53.53 kB / 0.6041 GB, free: 7.359 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0264/0.4313, allocations: 7.702 MB / 0.6117 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007859/0.4321, allocations: 322 kB / 0.612 GB, free: 15.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.585e-06/0.4321, allocations: 0 / 0.612 GB, free: 15.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001483/0.4336, allocations: 442.7 kB / 0.6124 GB, free: 14.81 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002803/0.4339, allocations: 482.6 kB / 0.6129 GB, free: 14.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.4341, allocations: 201.9 kB / 0.613 GB, free: 14.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.4341, allocations: 29.7 kB / 0.6131 GB, free: 13.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.4343, allocations: 184.2 kB / 0.6133 GB, free: 13.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.015e-05/0.4343, allocations: 107.1 kB / 0.6134 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.4345, allocations: 86.08 kB / 0.6134 GB, free: 13.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4346, allocations: 330.8 kB / 0.6138 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.4348, allocations: 64.83 kB / 0.6138 GB, free: 13.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.4351, allocations: 310.8 kB / 0.6141 GB, free: 12.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.4357, allocations: 433.2 kB / 0.6145 GB, free: 12.24 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.4357, allocations: 4 kB / 0.6145 GB, free: 12.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006995/0.4364, allocations: 401.2 kB / 0.6149 GB, free: 11.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.4364, allocations: 8 kB / 0.6149 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.4364, allocations: 12 kB / 0.6149 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.242e-05/0.4365, allocations: 12 kB / 0.6149 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.4368, allocations: 107.8 kB / 0.615 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.4368, allocations: 15.92 kB / 0.6151 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.4371, allocations: 48.08 kB / 0.6151 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/0.4371, allocations: 32 kB / 0.6151 GB, free: 11.61 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.0001589/0.4373, allocations: 161.6 kB / 0.6153 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.4374, allocations: 27.86 kB / 0.6153 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.4385, allocations: 0.8145 MB / 0.6161 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.4385, allocations: 7.938 kB / 0.6161 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4385, allocations: 7.938 kB / 0.6161 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4385, allocations: 3.938 kB / 0.6161 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.4397, allocations: 0.8898 MB / 0.617 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.4397, allocations: 11.98 kB / 0.617 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.4398, allocations: 32.23 kB / 0.617 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.587e-05/0.4398, allocations: 11.94 kB / 0.6171 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.4398, allocations: 8 kB / 0.6171 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.4398, allocations: 4 kB / 0.6171 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4398, allocations: 4 kB / 0.6171 GB, free: 9.527 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/0.4403, allocations: 376.7 kB / 0.6174 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.4404, allocations: 27.73 kB / 0.6175 GB, free: 9.086 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.517e-05/0.4405, allocations: 51.55 kB / 0.6175 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.4407, allocations: 12 kB / 0.6175 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.4407, allocations: 23.91 kB / 0.6175 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.4408, allocations: 12 kB / 0.6175 GB, free: 8.988 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003613/0.4411, allocations: 290.9 kB / 0.6178 GB, free: 8.703 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4411, allocations: 0 / 0.6178 GB, free: 8.703 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001418/0.4425, allocations: 434.5 kB / 0.6182 GB, free: 8.277 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.00201/0.4445, allocations: 1.448 MB / 0.6197 GB, free: 6.773 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.4449, allocations: 221.6 kB / 0.6199 GB, free: 6.559 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4449, allocations: 0 / 0.6199 GB, free: 6.559 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.4451, allocations: 79.97 kB / 0.6199 GB, free: 6.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007172/0.4458, allocations: 110.7 kB / 0.62 GB, free: 6.375 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.281/1.726, allocations: 0.5821 GB / 1.202 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/1.726, allocations: 207.1 kB / 1.202 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003558/1.727, allocations: 166.7 kB / 1.202 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/1.727, allocations: 143.4 kB / 1.203 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of SimCode: time 9.32e-07/1.727, allocations: 10.62 kB / 1.203 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.325/2.052, allocations: 19.46 MB / 1.222 GB, free: 224.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/13.38, allocations: 4.062 kB / 1.222 GB, free: 224.6 MB / 0.6231 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 18.285444764012937]