Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009393/0.0009393, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8887/0.8887, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2454/0.2454, allocations: 34.23 MB / 294.8 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.202e-05, allocations: 10.22 kB / 442.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.1689/0.1689, allocations: 12.7 MB / 454.9 MB, free: 36.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01415/0.1831, allocations: 23.36 MB / 478.3 MB, free: 21.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.1832, allocations: 3 kB / 478.3 MB, free: 21.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.1835, allocations: 86.55 kB / 478.4 MB, free: 21.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01455/0.1981, allocations: 8.636 MB / 487 MB, free: 17.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006086/0.1987, allocations: 350.4 kB / 487.3 MB, free: 17.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002229/0.2009, allocations: 2.033 MB / 489.4 MB, free: 16.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.531e-05/0.201, allocations: 23.14 kB / 489.4 MB, free: 16.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004248/0.2014, allocations: 307 kB / 489.7 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003179/0.2046, allocations: 3.265 MB / 493 MB, free: 15.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.2046, allocations: 11.22 kB / 493 MB, free: 15.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01525/0.2199, allocations: 10.34 MB / 0.4915 GB, free: 12.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.381e-05/0.22, allocations: 55.17 kB / 0.4916 GB, free: 12.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.2202, allocations: 102.2 kB / 0.4917 GB, free: 12.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01657/0.2367, allocations: 8.015 MB / 0.4995 GB, free: 7.504 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.2367, allocations: 1.125 kB / 0.4995 GB, free: 7.504 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2367, allocations: 0 / 0.4995 GB, free: 7.504 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2367, allocations: 4 kB / 0.4995 GB, free: 7.5 MB / 410.7 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.005009/0.2418, allocations: 1.52 MB / 0.501 GB, free: 6.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2418, allocations: 9.719 kB / 0.501 GB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.2418, allocations: 75.91 kB / 0.5011 GB, free: 6.391 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009582/0.2428, allocations: 222.1 kB / 0.5013 GB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.2432, allocations: 216 kB / 0.5015 GB, free: 6.082 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.2432, allocations: 25.66 kB / 0.5015 GB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.2432, allocations: 28.19 kB / 0.5015 GB, free: 6.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.2446, allocations: 0.8797 MB / 0.5024 GB, free: 5.469 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2446, allocations: 6.906 kB / 0.5024 GB, free: 5.465 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.2446, allocations: 15.56 kB / 0.5024 GB, free: 5.453 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.2447, allocations: 12.59 kB / 0.5024 GB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.246, allocations: 0.9249 MB / 0.5033 GB, free: 5.012 MB / 410.7 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.001887/0.2479, allocations: 1.981 MB / 0.5053 GB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007436/0.2487, allocations: 369.2 kB / 0.5056 GB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.63e-05/0.2488, allocations: 68.27 kB / 0.5057 GB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4892/0.7379, allocations: 161 MB / 0.6629 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/0.7389, allocations: 471.7 kB / 0.6634 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 1.953e-06/0.7389, allocations: 0 / 0.6634 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.001799/0.7407, allocations: 0.7883 MB / 0.6641 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.7408, allocations: 371.4 kB / 0.6645 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.7409, allocations: 192.8 kB / 0.6647 GB, free: 163.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.741, allocations: 31.08 kB / 0.6647 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.741, allocations: 193.8 kB / 0.6649 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.7411, allocations: 126.2 kB / 0.665 GB, free: 163.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.7412, allocations: 119.4 kB / 0.6651 GB, free: 163.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.761e-05/0.7412, allocations: 330.6 kB / 0.6654 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.7414, allocations: 82.97 kB / 0.6655 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.7416, allocations: 343.4 kB / 0.6658 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.742, allocations: 477.3 kB / 0.6663 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.742, allocations: 3.719 kB / 0.6663 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005962/0.7426, allocations: 476.4 kB / 0.6667 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.7426, allocations: 10 kB / 0.6668 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.7426, allocations: 12.66 kB / 0.6668 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.7427, allocations: 12.03 kB / 0.6668 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.7429, allocations: 140 kB / 0.6669 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.743, allocations: 22.94 kB / 0.6669 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.7432, allocations: 49.17 kB / 0.667 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.7432, allocations: 44.94 kB / 0.667 GB, free: 161.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.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 (58): * Single equations (assignments): 58 * 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.0001175/0.7433, allocations: 159.6 kB / 0.6672 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.7434, allocations: 31.25 kB / 0.6672 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.7455, allocations: 2.843 MB / 0.67 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.7455, allocations: 18.48 kB / 0.67 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.7455, allocations: 7.547 kB / 0.67 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.7455, allocations: 7.547 kB / 0.67 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008118/0.7463, allocations: 0.9106 MB / 0.6709 GB, free: 160 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.892e-06/0.7463, allocations: 10.75 kB / 0.6709 GB, free: 160 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.7465, allocations: 75.97 kB / 0.671 GB, free: 160 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.7465, allocations: 7.641 kB / 0.671 GB, free: 160 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.7466, allocations: 12.52 kB / 0.671 GB, free: 160 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.7466, allocations: 5.359 kB / 0.671 GB, free: 160 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7466, allocations: 4 kB / 0.671 GB, free: 160 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.7472, allocations: 0.7173 MB / 0.6717 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.7473, allocations: 60.14 kB / 0.6718 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.7474, allocations: 107.2 kB / 0.6719 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.7476, allocations: 15.59 kB / 0.6719 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.7476, allocations: 37.14 kB / 0.6719 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.7476, allocations: 16.91 kB / 0.6719 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004691/0.7481, allocations: 0.5022 MB / 0.6724 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.7481, allocations: 0 / 0.6724 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00462/0.7527, allocations: 1.532 MB / 0.6739 GB, free: 159 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.008825/0.7615, allocations: 3.114 MB / 0.677 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008016/0.7623, allocations: 413.5 kB / 0.6774 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.7624, allocations: 4.812 kB / 0.6774 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.7625, allocations: 231.1 kB / 0.6776 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006943/0.7632, allocations: 138.4 kB / 0.6777 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9797/1.743, allocations: 0.6073 GB / 1.285 GB, free: 172.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/1.743, allocations: 400.2 kB / 1.285 GB, free: 172.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004727/1.744, allocations: 0.5158 MB / 1.286 GB, free: 172.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/1.744, allocations: 342.5 kB / 1.286 GB, free: 172 MB / 0.5417 GB Notification: Performance of SimCode: time 1.583e-06/1.744, allocations: 0 / 1.286 GB, free: 172 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09042/1.834, allocations: 64.92 MB / 1.35 GB, free: 130.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.455/11.29, allocations: 15.52 kB / 1.35 GB, free: 130.6 MB / 0.5417 GB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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: 13.502877250313759]