Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001969/0.001969, allocations: 118.9 kB / 17.83 MB, free: 5.242 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.002178/0.002178, allocations: 203 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 207.6 MB / 231.2 MB, free: 4.125 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3228/0.3228, allocations: 44.23 MB / 327.3 MB, free: 6.695 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002547/0.002547, allocations: 75.89 kB / 463 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2678, allocations: 61 MB / 0.5117 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.011/0.2788, allocations: 11.3 MB / 0.5227 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01605/0.2949, allocations: 14.33 MB / 0.5367 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.2951, allocations: 4 kB / 0.5367 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.2954, allocations: 67.53 kB / 0.5368 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00921/0.3046, allocations: 3.115 MB / 0.5398 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.305, allocations: 151.7 kB / 0.54 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005739/0.3108, allocations: 3.92 MB / 0.5438 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.613e-05/0.3109, allocations: 16.39 kB / 0.5438 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.3111, allocations: 135.5 kB / 0.5439 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009811/0.3209, allocations: 7.16 MB / 0.5509 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/0.3209, allocations: 12 kB / 0.5509 GB, free: 6.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00522/0.3261, allocations: 2.138 MB / 0.553 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3262, allocations: 55.73 kB / 0.5531 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.3264, allocations: 115.5 kB / 0.5532 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003415/0.3298, allocations: 1.559 MB / 0.5547 GB, free: 2.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3298, allocations: 7.922 kB / 0.5547 GB, free: 2.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3298, allocations: 0 / 0.5547 GB, free: 2.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3298, allocations: 4 kB / 0.5547 GB, free: 2.773 MB / 414.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.002246/0.3321, allocations: 0.9335 MB / 0.5556 GB, free: 1.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3321, allocations: 15.83 kB / 0.5556 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.34e-05/0.3322, allocations: 8.75 kB / 0.5557 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.286e-05/0.3322, allocations: 66.72 kB / 0.5557 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005962/0.3328, allocations: 76.73 kB / 0.5558 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.3332, allocations: 255.9 kB / 0.556 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.3333, allocations: 20.94 kB / 0.5561 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.3333, allocations: 28.12 kB / 0.5561 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.3343, allocations: 485.5 kB / 0.5565 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3343, allocations: 0 / 0.5565 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.3344, allocations: 12 kB / 0.5566 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3344, allocations: 4 kB / 0.5566 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.3355, allocations: 0.6851 MB / 0.5572 GB, free: 72 kB / 414.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.00746/0.343, allocations: 4.304 MB / 0.5614 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005465/0.3435, allocations: 162.6 kB / 0.5616 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.255e-05/0.3436, allocations: 52.83 kB / 0.5616 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02931/0.3729, allocations: 16.42 MB / 0.5777 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007518/0.3737, allocations: 313.8 kB / 0.578 GB, free: 8.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.294e-06/0.3737, allocations: 0 / 0.578 GB, free: 8.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001454/0.3751, allocations: 442.7 kB / 0.5784 GB, free: 7.723 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002767/0.3754, allocations: 478.6 kB / 0.5788 GB, free: 7.145 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.3757, allocations: 184.4 kB / 0.579 GB, free: 6.957 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.3757, allocations: 37.64 kB / 0.5791 GB, free: 6.914 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.3759, allocations: 192.2 kB / 0.5792 GB, free: 6.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.677e-05/0.376, allocations: 103.1 kB / 0.5793 GB, free: 6.621 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.3761, allocations: 106 kB / 0.5794 GB, free: 6.512 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3763, allocations: 326.8 kB / 0.5798 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.3764, allocations: 64.83 kB / 0.5798 GB, free: 6.121 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.3767, allocations: 310.7 kB / 0.5801 GB, free: 5.695 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.3773, allocations: 425 kB / 0.5805 GB, free: 5.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.3773, allocations: 4 kB / 0.5805 GB, free: 5.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006872/0.378, allocations: 396.8 kB / 0.5809 GB, free: 4.762 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.378, allocations: 8 kB / 0.5809 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.378, allocations: 8.875 kB / 0.5809 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.378, allocations: 12 kB / 0.5809 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.3783, allocations: 115.8 kB / 0.581 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.3784, allocations: 19.88 kB / 0.5811 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.3786, allocations: 47.69 kB / 0.5811 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.3787, allocations: 31.98 kB / 0.5811 GB, free: 4.523 MB / 446.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.000153/0.3788, allocations: 165.5 kB / 0.5813 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.54e-05/0.3789, allocations: 27.84 kB / 0.5813 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.3799, allocations: 0.7831 MB / 0.5821 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.3799, allocations: 7.984 kB / 0.5821 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.38, allocations: 11.88 kB / 0.5821 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.38, allocations: 4 kB / 0.5821 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.3812, allocations: 1.204 MB / 0.5833 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.3812, allocations: 4 kB / 0.5833 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.3814, allocations: 39.86 kB / 0.5833 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3814, allocations: 4 kB / 0.5833 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3814, allocations: 8 kB / 0.5833 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3814, allocations: 4 kB / 0.5833 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.3814, allocations: 7.922 kB / 0.5833 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004667/0.3819, allocations: 384 kB / 0.5837 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.718e-05/0.3819, allocations: 112.8 kB / 0.5838 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.291e-05/0.382, allocations: 43.56 kB / 0.5839 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.3823, allocations: 15.98 kB / 0.5839 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.3823, allocations: 15.98 kB / 0.5839 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.3823, allocations: 8 kB / 0.5839 GB, free: 1.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003398/0.3826, allocations: 298.8 kB / 0.5842 GB, free: 1.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3826, allocations: 4 kB / 0.5842 GB, free: 1.133 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001249/0.3839, allocations: 426.6 kB / 0.5846 GB, free: 0.7148 MB / 446.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.001982/0.3859, allocations: 1.46 MB / 0.586 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004064/0.3863, allocations: 217.5 kB / 0.5862 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3863, allocations: 192 / 0.5862 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.3864, allocations: 79.78 kB / 0.5863 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007278/0.3871, allocations: 106.7 kB / 0.5864 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.655/2.042, allocations: 0.5821 GB / 1.168 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/2.042, allocations: 0.8075 MB / 1.169 GB, free: 151.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003962/2.042, allocations: 164.6 kB / 1.169 GB, free: 151.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/2.043, allocations: 147.4 kB / 1.17 GB, free: 151 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/2.043, allocations: 0 / 1.17 GB, free: 151 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03877/2.081, allocations: 18.47 MB / 1.188 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.574/11.66, allocations: 13.97 kB / 1.188 GB, free: 132.6 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.73902291903505]