Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.001427/0.001427, allocations: 122.1 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.001557/0.001557, allocations: 204.6 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.549/1.549, allocations: 207.6 MB / 231.2 MB, free: 4.098 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.3639/0.3639, allocations: 44.23 MB / 327.3 MB, free: 6.754 MB / 254.1 MB " [Timeout remaining time 179] 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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.002224/0.002224, allocations: 75.88 kB / 463 MB, free: 0.875 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3328, allocations: 61 MB / 0.5117 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03118/0.364, allocations: 26.92 MB / 0.538 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003831/0.3678, allocations: 2.963 MB / 0.5409 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.3679, allocations: 7.938 kB / 0.5409 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.3682, allocations: 51.66 kB / 0.5409 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.3701, allocations: 0.7304 MB / 0.5416 GB, free: 196 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.3705, allocations: 132.5 kB / 0.5418 GB, free: 64 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.3711, allocations: 374.1 kB / 0.5421 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.3711, allocations: 9.688 kB / 0.5421 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03887/0.41, allocations: 15.49 MB / 0.5572 GB, free: 56 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.4105, allocations: 159.4 kB / 0.5574 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/0.4105, allocations: 8 kB / 0.5574 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008795/0.4193, allocations: 3.463 MB / 0.5608 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.4194, allocations: 47.75 kB / 0.5608 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.4196, allocations: 99.53 kB / 0.5609 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.4206, allocations: 470.6 kB / 0.5614 GB, free: 11.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4206, allocations: 3.938 kB / 0.5614 GB, free: 11.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4206, allocations: 3.938 kB / 0.5614 GB, free: 11.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.4206, allocations: 0 / 0.5614 GB, free: 11.78 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001305/0.4219, allocations: 0.6116 MB / 0.562 GB, free: 11.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.422, allocations: 15.89 kB / 0.562 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.796e-05/0.422, allocations: 4.75 kB / 0.562 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.681e-05/0.4221, allocations: 58.67 kB / 0.5621 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.4223, allocations: 24.84 kB / 0.5621 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.4227, allocations: 228.1 kB / 0.5623 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.4228, allocations: 135.7 kB / 0.5624 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.4228, allocations: 24 kB / 0.5624 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005817/0.4234, allocations: 327.6 kB / 0.5628 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4234, allocations: 0 / 0.5628 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.4235, allocations: 16 kB / 0.5628 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.4235, allocations: 4 kB / 0.5628 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009038/0.4244, allocations: 0.739 MB / 0.5635 GB, free: 9.457 MB / 430.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.001564/0.426, allocations: 1.304 MB / 0.5648 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.4263, allocations: 151.7 kB / 0.5649 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.4265, allocations: 89.41 kB / 0.565 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002758/0.4292, allocations: 2.806 MB / 0.5677 GB, free: 4.449 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.4293, allocations: 30.56 kB / 0.5678 GB, free: 4.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.4293, allocations: 0 / 0.5678 GB, free: 4.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003247/0.4296, allocations: 125.4 kB / 0.5679 GB, free: 4.281 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.4296, allocations: 55.34 kB / 0.5679 GB, free: 4.215 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.4299, allocations: 222.8 kB / 0.5682 GB, free: 3.988 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.4299, allocations: 29.7 kB / 0.5682 GB, free: 3.953 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.43, allocations: 227.3 kB / 0.5684 GB, free: 3.727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.4301, allocations: 43.69 kB / 0.5684 GB, free: 3.684 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.4302, allocations: 86.03 kB / 0.5685 GB, free: 3.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4303, allocations: 330.8 kB / 0.5688 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.4304, allocations: 44.84 kB / 0.5689 GB, free: 3.219 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.4308, allocations: 343.2 kB / 0.5692 GB, free: 2.738 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/0.4312, allocations: 444.6 kB / 0.5696 GB, free: 2.156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.4313, allocations: 4 kB / 0.5696 GB, free: 2.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005888/0.4318, allocations: 381.5 kB / 0.57 GB, free: 1.773 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.4319, allocations: 15.92 kB / 0.57 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.4319, allocations: 12 kB / 0.57 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.709e-05/0.4319, allocations: 16 kB / 0.57 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.4322, allocations: 95.78 kB / 0.5701 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.4322, allocations: 19.92 kB / 0.5702 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.4325, allocations: 59.56 kB / 0.5702 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.4325, allocations: 28.34 kB / 0.5702 GB, free: 1.531 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001651/0.4327, allocations: 153.6 kB / 0.5704 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.4327, allocations: 23.78 kB / 0.5704 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.433, allocations: 148.8 kB / 0.5706 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.4331, allocations: 4 kB / 0.5706 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4331, allocations: 0 / 0.5706 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4331, allocations: 3.984 kB / 0.5706 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005514/0.4336, allocations: 408.9 kB / 0.571 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.4336, allocations: 8 kB / 0.571 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.313e-05/0.4337, allocations: 16 kB / 0.571 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4337, allocations: 4.094 kB / 0.571 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4337, allocations: 0 / 0.571 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4337, allocations: 4 kB / 0.571 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/0.4337, allocations: 7.922 kB / 0.571 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.434, allocations: 205.9 kB / 0.5712 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.185e-05/0.4341, allocations: 101 kB / 0.5713 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.4341, allocations: 11.89 kB / 0.5713 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.4342, allocations: 8 kB / 0.5713 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.4343, allocations: 3.984 kB / 0.5713 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.4343, allocations: 4 kB / 0.5713 GB, free: 316 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.4344, allocations: 156.5 kB / 0.5715 GB, free: 160 kB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4344, allocations: 4 kB / 0.5715 GB, free: 156 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005303/0.435, allocations: 91.81 kB / 0.5715 GB, free: 64 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0008377/0.4358, allocations: 0.7928 MB / 0.5723 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.4361, allocations: 166 kB / 0.5725 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4361, allocations: 3.938 kB / 0.5725 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.293e-05/0.4362, allocations: 24.61 kB / 0.5725 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.4367, allocations: 44.58 kB / 0.5726 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.44, allocations: 2.823 MB / 0.5753 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.4404, allocations: 0.7285 MB / 0.576 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002018/0.4406, allocations: 58.84 kB / 0.5761 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.328e-05/0.4407, allocations: 63.41 kB / 0.5761 GB, free: 10.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4407, allocations: 0 / 0.5761 GB, free: 10.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.4621, allocations: 5.304 MB / 0.5813 GB, free: 5.609 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/8.916, allocations: 4.062 kB / 0.5813 GB, free: 5.605 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.181194756005425]