Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001458/0.001458, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00159/0.00159, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2173/0.2173, allocations: 44.94 MB / 359.6 MB, free: 6.039 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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.00189/0.00189, allocations: 63.89 kB / 0.4938 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3328, allocations: 65.47 MB / 0.5578 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03264/0.3654, allocations: 24.14 MB / 0.5813 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.3688, allocations: 2.664 MB / 0.5839 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.064e-05/0.3689, allocations: 0 / 0.5839 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.3691, allocations: 51.61 kB / 0.584 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.3708, allocations: 0.7422 MB / 0.5847 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.3712, allocations: 147.4 kB / 0.5849 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005318/0.3717, allocations: 378.1 kB / 0.5852 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.3717, allocations: 5.812 kB / 0.5852 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03922/0.411, allocations: 15.34 MB / 0.6002 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.4113, allocations: 155.4 kB / 0.6003 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.4114, allocations: 8 kB / 0.6004 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008757/0.4201, allocations: 3.375 MB / 0.6036 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.4202, allocations: 47.77 kB / 0.6037 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.4204, allocations: 95.62 kB / 0.6038 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009513/0.4214, allocations: 450.6 kB / 0.6042 GB, free: 7.691 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4214, allocations: 4 kB / 0.6042 GB, free: 7.688 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4214, allocations: 0 / 0.6042 GB, free: 7.688 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4214, allocations: 0 / 0.6042 GB, free: 7.688 MB / 446.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.001238/0.4226, allocations: 0.5324 MB / 0.6047 GB, free: 7.125 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.4227, allocations: 8.031 kB / 0.6047 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.746e-05/0.4227, allocations: 12.69 kB / 0.6048 GB, free: 7.105 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.142e-05/0.4228, allocations: 58.73 kB / 0.6048 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.4229, allocations: 28.8 kB / 0.6048 GB, free: 7.012 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.4232, allocations: 170.2 kB / 0.605 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.4235, allocations: 230.4 kB / 0.6052 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.4235, allocations: 28 kB / 0.6053 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000673/0.4242, allocations: 489 kB / 0.6057 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4242, allocations: 0 / 0.6057 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.4242, allocations: 12 kB / 0.6057 GB, free: 5.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.4242, allocations: 8 kB / 0.6057 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008708/0.4251, allocations: 0.7663 MB / 0.6065 GB, free: 5.191 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.00135/0.4265, allocations: 1.077 MB / 0.6075 GB, free: 4.043 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.4268, allocations: 155.8 kB / 0.6077 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.427, allocations: 73.48 kB / 0.6078 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/0.4286, allocations: 0.7271 MB / 0.6085 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.4286, allocations: 34.56 kB / 0.6085 GB, free: 3.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 2.124e-06/0.4286, allocations: 0 / 0.6085 GB, free: 3.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003341/0.429, allocations: 113.5 kB / 0.6086 GB, free: 2.902 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.429, allocations: 59.39 kB / 0.6087 GB, free: 2.832 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.4293, allocations: 222.8 kB / 0.6089 GB, free: 2.605 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.4293, allocations: 25.7 kB / 0.6089 GB, free: 2.574 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.4295, allocations: 227.5 kB / 0.6091 GB, free: 2.348 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.4295, allocations: 51.62 kB / 0.6092 GB, free: 2.297 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.4296, allocations: 86.03 kB / 0.6092 GB, free: 2.207 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4298, allocations: 326.8 kB / 0.6096 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.4298, allocations: 44.84 kB / 0.6096 GB, free: 1.836 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.4302, allocations: 343.2 kB / 0.6099 GB, free: 1.352 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/0.4307, allocations: 444.6 kB / 0.6104 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4307, allocations: 4 kB / 0.6104 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005815/0.4313, allocations: 381.6 kB / 0.6107 GB, free: 396 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.4313, allocations: 11.94 kB / 0.6107 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.4313, allocations: 12 kB / 0.6107 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/0.4313, allocations: 12 kB / 0.6108 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.4316, allocations: 107.8 kB / 0.6109 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/0.4316, allocations: 23.86 kB / 0.6109 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.4318, allocations: 59.56 kB / 0.6109 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.4319, allocations: 28.38 kB / 0.611 GB, free: 140 kB / 446.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.0001578/0.432, allocations: 149.8 kB / 0.6111 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.4321, allocations: 23.8 kB / 0.6111 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.4324, allocations: 152.8 kB / 0.6113 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.4324, allocations: 4 kB / 0.6113 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.4324, allocations: 4 kB / 0.6113 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4324, allocations: 0 / 0.6113 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.4329, allocations: 376 kB / 0.6116 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4329, allocations: 3.984 kB / 0.6116 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-05/0.433, allocations: 12 kB / 0.6117 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.433, allocations: 96 / 0.6117 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.433, allocations: 7.938 kB / 0.6117 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.433, allocations: 0 / 0.6117 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.433, allocations: 0 / 0.6117 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.4332, allocations: 213.9 kB / 0.6119 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.4333, allocations: 19.84 kB / 0.6119 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.4333, allocations: 11.98 kB / 0.6119 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.4335, allocations: 0 / 0.6119 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-05/0.4335, allocations: 15.95 kB / 0.6119 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.4335, allocations: 11.98 kB / 0.6119 GB, free: 15.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.4337, allocations: 152.5 kB / 0.6121 GB, free: 14.89 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4337, allocations: 0 / 0.6121 GB, free: 14.89 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005036/0.4342, allocations: 103.8 kB / 0.6122 GB, free: 14.79 MB / 462.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.0007202/0.4349, allocations: 0.7812 MB / 0.6129 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.4352, allocations: 162.3 kB / 0.6131 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4352, allocations: 7.891 kB / 0.6131 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.205e-05/0.4352, allocations: 27.92 kB / 0.6131 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.4357, allocations: 48.58 kB / 0.6132 GB, free: 13.74 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.439, allocations: 2.816 MB / 0.6159 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.4391, allocations: 116.5 kB / 0.616 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.4393, allocations: 54.91 kB / 0.6161 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.4394, allocations: 63.41 kB / 0.6161 GB, free: 10.28 MB / 462.1 MB Notification: Performance of SimCode: time 1.021e-06/0.4394, allocations: 0 / 0.6161 GB, free: 10.28 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.4648, allocations: 5.651 MB / 0.6217 GB, free: 4.812 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.75, allocations: 7.688 kB / 0.6217 GB, free: 4.809 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.872940576053225]