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.0008621/0.0008621, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000974/0.000974, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9259/0.9259, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2637/0.2637, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 439.6 MB, free: 4.207 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.797e-05, allocations: 2.281 kB / 439.6 MB, free: 4.203 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.2106/0.2107, allocations: 10.15 MB / 449.8 MB, free: 41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005809/0.2165, allocations: 10.29 MB / 460.1 MB, free: 34.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.2166, allocations: 3 kB / 460.1 MB, free: 34.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.2169, allocations: 60.2 kB / 460.1 MB, free: 34.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005802/0.2227, allocations: 3.177 MB / 463.3 MB, free: 32.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.223, allocations: 160.5 kB / 463.5 MB, free: 32.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002999/0.226, allocations: 4.004 MB / 467.5 MB, free: 31.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.458e-05/0.226, allocations: 14.12 kB / 467.5 MB, free: 31.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.2262, allocations: 191.3 kB / 467.7 MB, free: 31.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005134/0.2313, allocations: 7.299 MB / 475 MB, free: 29.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.2313, allocations: 8.906 kB / 475 MB, free: 29.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.2341, allocations: 2.027 MB / 477 MB, free: 29.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.2341, allocations: 50 kB / 477.1 MB, free: 29.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.781e-05/0.2342, allocations: 101.3 kB / 477.2 MB, free: 29.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.2361, allocations: 1.778 MB / 478.9 MB, free: 28.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2362, allocations: 0 / 478.9 MB, free: 28.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.2362, allocations: 0 / 478.9 MB, free: 28.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.2362, allocations: 3.062 kB / 478.9 MB, free: 28.71 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001511/0.2377, allocations: 0.8668 MB / 479.8 MB, free: 28.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.2377, allocations: 10 kB / 479.8 MB, free: 28.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.2378, allocations: 62.55 kB / 479.9 MB, free: 28.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/0.2381, allocations: 77.41 kB / 480 MB, free: 28.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.2385, allocations: 189.7 kB / 480.1 MB, free: 27.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.2385, allocations: 20.5 kB / 480.2 MB, free: 27.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.2385, allocations: 30.12 kB / 480.2 MB, free: 27.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.2392, allocations: 0.531 MB / 480.7 MB, free: 27.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2392, allocations: 3.344 kB / 480.7 MB, free: 27.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.2393, allocations: 19.69 kB / 480.7 MB, free: 27.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.2393, allocations: 6.562 kB / 480.8 MB, free: 27.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007791/0.24, allocations: 0.6806 MB / 481.4 MB, free: 27.44 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.003779/0.2438, allocations: 2.864 MB / 484.3 MB, free: 26.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.2442, allocations: 153.1 kB / 484.4 MB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.2442, allocations: 58.28 kB / 484.5 MB, free: 26.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01395/0.2582, allocations: 7.679 MB / 492.2 MB, free: 24.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000442/0.2586, allocations: 318.3 kB / 492.5 MB, free: 24.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/0.2586, allocations: 0 / 492.5 MB, free: 24.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008632/0.2595, allocations: 436.2 kB / 492.9 MB, free: 24.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.2596, allocations: 485.3 kB / 493.4 MB, free: 23.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.2597, allocations: 195.4 kB / 493.6 MB, free: 23.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2597, allocations: 31.98 kB / 493.6 MB, free: 23.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.2598, allocations: 192.1 kB / 493.8 MB, free: 23.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.2598, allocations: 105 kB / 493.9 MB, free: 23.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-05/0.2599, allocations: 93.73 kB / 494 MB, free: 23.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.26, allocations: 336.9 kB / 494.3 MB, free: 22.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-05/0.2601, allocations: 59.59 kB / 494.4 MB, free: 22.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.2602, allocations: 312.8 kB / 494.7 MB, free: 22.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.2605, allocations: 429.1 kB / 495.1 MB, free: 22.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.2605, allocations: 2.812 kB / 495.1 MB, free: 22.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004516/0.261, allocations: 395.7 kB / 495.5 MB, free: 21.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.261, allocations: 9.969 kB / 495.5 MB, free: 21.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.261, allocations: 8.5 kB / 495.5 MB, free: 21.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.261, allocations: 15.88 kB / 495.5 MB, free: 21.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.2612, allocations: 113 kB / 495.6 MB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.2612, allocations: 17.7 kB / 495.7 MB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.2614, allocations: 47.86 kB / 495.7 MB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.2614, allocations: 33.88 kB / 495.7 MB, free: 21.79 MB / 410.7 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 8.111e-05/0.2615, allocations: 156 kB / 495.9 MB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.2615, allocations: 31.89 kB / 495.9 MB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007062/0.2622, allocations: 0.8342 MB / 496.8 MB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.2622, allocations: 5.688 kB / 496.8 MB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2623, allocations: 3.188 kB / 496.8 MB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2623, allocations: 10.55 kB / 496.8 MB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007445/0.263, allocations: 0.9 MB / 497.7 MB, free: 20.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.263, allocations: 3.219 kB / 497.7 MB, free: 20.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.657e-05/0.2631, allocations: 32.14 kB / 497.7 MB, free: 20.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2631, allocations: 4.734 kB / 497.7 MB, free: 20.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2631, allocations: 8 kB / 497.7 MB, free: 20.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.2631, allocations: 4.828 kB / 497.7 MB, free: 20.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.2631, allocations: 11.17 kB / 497.7 MB, free: 20.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.2634, allocations: 377.2 kB / 498.1 MB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.2634, allocations: 25.92 kB / 498.1 MB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.2634, allocations: 47.39 kB / 498.2 MB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.2635, allocations: 9.422 kB / 498.2 MB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.2636, allocations: 22.36 kB / 498.2 MB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.2636, allocations: 7.719 kB / 498.2 MB, free: 20.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002166/0.2638, allocations: 294.4 kB / 498.5 MB, free: 20.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2638, allocations: 0 / 498.5 MB, free: 20.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008539/0.2647, allocations: 435.8 kB / 498.9 MB, free: 19.98 MB / 410.7 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.001191/0.2658, allocations: 1.49 MB / 0.4887 GB, free: 18.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.2661, allocations: 223.7 kB / 0.4889 GB, free: 18.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2661, allocations: 1.219 kB / 0.4889 GB, free: 18.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.977e-05/0.2662, allocations: 77.5 kB / 0.489 GB, free: 18.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.2667, allocations: 115.9 kB / 0.4891 GB, free: 18.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.015/1.282, allocations: 0.582 GB / 1.071 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/1.282, allocations: 208.1 kB / 1.071 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002822/1.282, allocations: 167.3 kB / 1.071 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/1.283, allocations: 153.5 kB / 1.072 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.242e-06/1.283, allocations: 3 kB / 1.072 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/1.316, allocations: 19.58 MB / 1.091 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.137/8.452, allocations: 1.125 kB / 1.091 GB, free: 145.1 MB / 0.5261 GB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins/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: 11.760050158016384]