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.001301/0.001301, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001417/0.001417, allocations: 215 kB / 21.45 MB, free: 1.617 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.484/1.484, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2311/0.2311, allocations: 44.91 MB / 355.8 MB, free: 12.33 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.002057/0.002057, allocations: 67.89 kB / 0.4886 GB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1395, allocations: 65.42 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.04876/0.1883, allocations: 27.03 MB / 0.5789 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005405/0.1937, allocations: 2.967 MB / 0.5818 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/0.1939, allocations: 4 kB / 0.5818 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004461/0.1944, allocations: 47.67 kB / 0.5818 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003364/0.1978, allocations: 0.7305 MB / 0.5825 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.1983, allocations: 130.4 kB / 0.5827 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000797/0.1991, allocations: 378.1 kB / 0.583 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.229e-05/0.1991, allocations: 9.672 kB / 0.583 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.334/0.5332, allocations: 15.51 MB / 0.5982 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005694/0.5337, allocations: 147.6 kB / 0.5983 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.5338, allocations: 8.094 kB / 0.5983 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009187/0.543, allocations: 3.469 MB / 0.6017 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.5431, allocations: 42.3 kB / 0.6018 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.5433, allocations: 106.3 kB / 0.6019 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.5443, allocations: 473.9 kB / 0.6023 GB, free: 9.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5443, allocations: 4.906 kB / 0.6023 GB, free: 9.828 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5443, allocations: 0 / 0.6023 GB, free: 9.828 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.5443, allocations: 0.8125 kB / 0.6023 GB, free: 9.828 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.001104/0.5454, allocations: 0.6042 MB / 0.6029 GB, free: 9.387 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.5455, allocations: 16.73 kB / 0.6029 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.399e-05/0.5455, allocations: 6.281 kB / 0.6029 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.092e-05/0.5455, allocations: 60.14 kB / 0.603 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.5457, allocations: 30 kB / 0.603 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.5459, allocations: 221.2 kB / 0.6032 GB, free: 9.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.546, allocations: 124 kB / 0.6033 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.5461, allocations: 26.12 kB / 0.6034 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.5466, allocations: 322.8 kB / 0.6037 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.5466, allocations: 0 / 0.6037 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.5466, allocations: 14.11 kB / 0.6037 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.5467, allocations: 9 kB / 0.6037 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008736/0.5475, allocations: 0.7378 MB / 0.6044 GB, free: 8.898 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.001169/0.5487, allocations: 1.302 MB / 0.6057 GB, free: 7.883 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.5491, allocations: 156.2 kB / 0.6058 GB, free: 7.852 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.5492, allocations: 79.3 kB / 0.6059 GB, free: 7.844 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001853/0.551, allocations: 2.813 MB / 0.6087 GB, free: 4.961 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.5511, allocations: 43.31 kB / 0.6087 GB, free: 4.918 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.5511, allocations: 0 / 0.6087 GB, free: 4.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003367/0.5514, allocations: 117.7 kB / 0.6088 GB, free: 4.875 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.5514, allocations: 52.75 kB / 0.6089 GB, free: 4.812 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.5516, allocations: 222 kB / 0.6091 GB, free: 4.699 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.5516, allocations: 27.53 kB / 0.6091 GB, free: 4.668 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.885e-05/0.5517, allocations: 229.3 kB / 0.6093 GB, free: 4.484 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.5518, allocations: 46.56 kB / 0.6094 GB, free: 4.461 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.5519, allocations: 90.94 kB / 0.6095 GB, free: 4.434 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.03e-05/0.5519, allocations: 323.8 kB / 0.6098 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.252e-05/0.552, allocations: 52.03 kB / 0.6098 GB, free: 4.121 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.5523, allocations: 342.7 kB / 0.6101 GB, free: 3.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.5527, allocations: 442.4 kB / 0.6106 GB, free: 3.332 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.5527, allocations: 3.156 kB / 0.6106 GB, free: 3.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006781/0.5534, allocations: 382.1 kB / 0.6109 GB, free: 3.285 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.5534, allocations: 12.44 kB / 0.6109 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.5534, allocations: 20.36 kB / 0.611 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.283e-05/0.5534, allocations: 17.7 kB / 0.611 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.5537, allocations: 100.5 kB / 0.6111 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.5537, allocations: 20.7 kB / 0.6111 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.554, allocations: 53.59 kB / 0.6111 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.554, allocations: 28.7 kB / 0.6112 GB, free: 3.25 MB / 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 9.682e-05/0.5541, allocations: 155.7 kB / 0.6113 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.5541, allocations: 23.64 kB / 0.6113 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.5544, allocations: 149.6 kB / 0.6115 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.5544, allocations: 0 / 0.6115 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5544, allocations: 0.7031 kB / 0.6115 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5544, allocations: 3.359 kB / 0.6115 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.5548, allocations: 415.3 kB / 0.6119 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5548, allocations: 3.562 kB / 0.6119 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.5549, allocations: 12.86 kB / 0.6119 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5549, allocations: 1.188 kB / 0.6119 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.5549, allocations: 3.141 kB / 0.6119 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5549, allocations: 1.219 kB / 0.6119 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5549, allocations: 1.781 kB / 0.6119 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.555, allocations: 205.1 kB / 0.6121 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.5551, allocations: 101.9 kB / 0.6122 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.5551, allocations: 4.328 kB / 0.6122 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.5553, allocations: 6.031 kB / 0.6122 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.5553, allocations: 16.02 kB / 0.6122 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.5553, allocations: 4.062 kB / 0.6122 GB, free: 2.445 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.5554, allocations: 154.4 kB / 0.6124 GB, free: 2.367 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5554, allocations: 1.312 kB / 0.6124 GB, free: 2.367 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005294/0.5559, allocations: 94.06 kB / 0.6125 GB, free: 2.359 MB / 446.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.000489/0.5564, allocations: 0.8081 MB / 0.6133 GB, free: 1.648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000312/0.5567, allocations: 165.9 kB / 0.6134 GB, free: 1.645 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5567, allocations: 0.5938 kB / 0.6134 GB, free: 1.645 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.721e-05/0.5568, allocations: 23.75 kB / 0.6134 GB, free: 1.645 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.5572, allocations: 40.59 kB / 0.6135 GB, free: 1.645 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.5601, allocations: 2.813 MB / 0.6162 GB, free: 15.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.5605, allocations: 0.722 MB / 0.6169 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000202/0.5607, allocations: 54.97 kB / 0.617 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.59e-05/0.5608, allocations: 61.44 kB / 0.617 GB, free: 14.77 MB / 462.1 MB Notification: Performance of SimCode: time 1.412e-06/0.5608, allocations: 0 / 0.617 GB, free: 14.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.5823, allocations: 5.328 MB / 0.6222 GB, free: 14.05 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/9.011, allocations: 10.81 kB / 0.6223 GB, free: 14.05 MB / 462.1 MB " [Timeout remaining time 651] (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: 12.263446883007418]