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.001699/0.001699, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002121/0.002121, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2298/0.2298, allocations: 44.94 MB / 359.6 MB, free: 6.152 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",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.002017/0.002017, allocations: 63.91 kB / 0.4938 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3371, allocations: 65.47 MB / 0.5578 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01327/0.3504, allocations: 10.14 MB / 0.5677 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.3627, allocations: 10.29 MB / 0.5777 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.3629, allocations: 0 / 0.5777 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.3632, allocations: 63.58 kB / 0.5778 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008735/0.3719, allocations: 3.107 MB / 0.5808 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.3724, allocations: 151.4 kB / 0.581 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006016/0.3784, allocations: 3.963 MB / 0.5848 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.981e-05/0.3785, allocations: 16.56 kB / 0.5849 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.3787, allocations: 143.5 kB / 0.585 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00988/0.3885, allocations: 7.25 MB / 0.5921 GB, free: 4.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-05/0.3886, allocations: 8 kB / 0.5921 GB, free: 4.289 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004853/0.3935, allocations: 2.127 MB / 0.5942 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.988e-05/0.3936, allocations: 43.77 kB / 0.5942 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.3937, allocations: 111.6 kB / 0.5943 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003245/0.397, allocations: 1.531 MB / 0.5958 GB, free: 484 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.397, allocations: 4 kB / 0.5958 GB, free: 480 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.397, allocations: 0 / 0.5958 GB, free: 480 kB / 430.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.397, allocations: 3.938 kB / 0.5958 GB, free: 476 kB / 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.002148/0.3991, allocations: 0.8685 MB / 0.5967 GB, free: 15.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3992, allocations: 8.031 kB / 0.5967 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.396e-05/0.3992, allocations: 8.844 kB / 0.5967 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.851e-05/0.3993, allocations: 66.72 kB / 0.5967 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.3999, allocations: 76.73 kB / 0.5968 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.4002, allocations: 194.2 kB / 0.597 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.4003, allocations: 21.03 kB / 0.597 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.4003, allocations: 32.12 kB / 0.597 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.4014, allocations: 0.5293 MB / 0.5976 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.4014, allocations: 0 / 0.5976 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.4015, allocations: 12 kB / 0.5976 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.4015, allocations: 8 kB / 0.5976 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.4026, allocations: 0.6966 MB / 0.5983 GB, free: 13.84 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.006938/0.4096, allocations: 2.879 MB / 0.6011 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005543/0.4101, allocations: 159.1 kB / 0.6012 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.4102, allocations: 61.53 kB / 0.6013 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02518/0.4354, allocations: 7.702 MB / 0.6088 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007605/0.4362, allocations: 314 kB / 0.6091 GB, free: 2.555 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.994e-06/0.4362, allocations: 4 kB / 0.6091 GB, free: 2.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.00147/0.4377, allocations: 435.1 kB / 0.6095 GB, free: 2.121 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002564/0.4379, allocations: 486.6 kB / 0.61 GB, free: 1.535 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.4381, allocations: 190 kB / 0.6102 GB, free: 1.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.4382, allocations: 33.7 kB / 0.6102 GB, free: 1.301 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.4383, allocations: 192.2 kB / 0.6104 GB, free: 1.109 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.4384, allocations: 111 kB / 0.6105 GB, free: 1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.4385, allocations: 94.06 kB / 0.6106 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4386, allocations: 330.8 kB / 0.6109 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.4388, allocations: 64.83 kB / 0.611 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/0.4391, allocations: 306.8 kB / 0.6112 GB, free: 84 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/0.4396, allocations: 429 kB / 0.6117 GB, free: 15.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4396, allocations: 0 / 0.6117 GB, free: 15.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006982/0.4403, allocations: 405.2 kB / 0.612 GB, free: 15.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.4403, allocations: 8 kB / 0.6121 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.4403, allocations: 8 kB / 0.6121 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.4404, allocations: 12 kB / 0.6121 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.4407, allocations: 107.8 kB / 0.6122 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/0.4407, allocations: 23.86 kB / 0.6122 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.441, allocations: 44.17 kB / 0.6122 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.441, allocations: 31.98 kB / 0.6123 GB, free: 14.91 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.0001613/0.4412, allocations: 161.5 kB / 0.6124 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.4413, allocations: 27.86 kB / 0.6125 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.4423, allocations: 0.8111 MB / 0.6132 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.4423, allocations: 4 kB / 0.6132 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.4423, allocations: 11.92 kB / 0.6133 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4423, allocations: 0 / 0.6133 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.4434, allocations: 0.8937 MB / 0.6141 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-06/0.4434, allocations: 0 / 0.6141 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.4435, allocations: 40.17 kB / 0.6142 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.4435, allocations: 8 kB / 0.6142 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.4435, allocations: 4 kB / 0.6142 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.4436, allocations: 7.984 kB / 0.6142 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.4436, allocations: 7.938 kB / 0.6142 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.444, allocations: 380.7 kB / 0.6146 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.4441, allocations: 35.72 kB / 0.6146 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.531e-05/0.4441, allocations: 47.56 kB / 0.6146 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.4444, allocations: 15.92 kB / 0.6147 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.4444, allocations: 15.98 kB / 0.6147 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.4444, allocations: 12 kB / 0.6147 GB, free: 12.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003334/0.4447, allocations: 298.8 kB / 0.615 GB, free: 12 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4447, allocations: 96 / 0.615 GB, free: 12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001302/0.4461, allocations: 430.6 kB / 0.6154 GB, free: 11.57 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.001979/0.448, allocations: 1.446 MB / 0.6168 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000409/0.4484, allocations: 220.9 kB / 0.617 GB, free: 9.855 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.4485, allocations: 8.734 kB / 0.617 GB, free: 9.848 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.4486, allocations: 75.8 kB / 0.6171 GB, free: 9.773 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007264/0.4493, allocations: 106.7 kB / 0.6172 GB, free: 9.672 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.352/1.801, allocations: 0.5821 GB / 1.199 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/1.801, allocations: 206.9 kB / 1.199 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003653/1.801, allocations: 164.2 kB / 1.2 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/1.802, allocations: 147.4 kB / 1.2 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of SimCode: time 1.613e-06/1.802, allocations: 0 / 1.2 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3235/2.125, allocations: 19.11 MB / 1.218 GB, free: 231.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/14.62, allocations: 9.922 kB / 1.218 GB, free: 231.9 MB / 0.6231 GB " [Timeout remaining time 645] (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: 22.062506751040928]