Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 111.9 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 193.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.1 MB / 224 MB, free: 12.36 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 51.94 kB / 280.3 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09054/0.09191, allocations: 46.63 MB / 326.9 MB, free: 4.684 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02681/0.1188, allocations: 24.52 MB / 351.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.1223, allocations: 2.499 MB / 353.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003541/0.1227, allocations: 11.94 kB / 353.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006498/0.1234, allocations: 127.3 kB / 354 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007699/0.1242, allocations: 306.4 kB / 354.3 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.1265, allocations: 0.9083 MB / 355.2 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.1276, allocations: 0.9029 MB / 356.2 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.1278, allocations: 100.7 kB / 356.2 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004841/0.1326, allocations: 3.044 MB / 359.3 MB, free: 4.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004994/0.1332, allocations: 286.9 kB / 359.6 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.798e-05/0.1333, allocations: 32 kB / 359.6 MB, free: 3.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006197/0.1339, allocations: 243.6 kB / 359.8 MB, free: 3.605 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.134, allocations: 99.7 kB / 359.9 MB, free: 3.508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.1343, allocations: 199.2 kB / 360.1 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007619/0.135, allocations: 0.5688 MB / 360.7 MB, free: 2.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.135, allocations: 4 kB / 360.7 MB, free: 2.738 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.135, allocations: 0 / 360.7 MB, free: 2.738 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.1351, allocations: 0 / 360.7 MB, free: 2.738 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001009/0.1361, allocations: 0.6276 MB / 361.3 MB, free: 2.062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.1361, allocations: 11.97 kB / 361.3 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.237e-05/0.1363, allocations: 62.73 kB / 361.4 MB, free: 1.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004195/0.1367, allocations: 48.55 kB / 361.5 MB, free: 1.934 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.1372, allocations: 295.5 kB / 361.7 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.1372, allocations: 20.94 kB / 361.8 MB, free: 1.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.1372, allocations: 24.38 kB / 361.8 MB, free: 1.562 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/0.1379, allocations: 338.2 kB / 362.1 MB, free: 1.195 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.1379, allocations: 3.938 kB / 362.1 MB, free: 1.191 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.138, allocations: 12 kB / 362.1 MB, free: 1.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.138, allocations: 8 kB / 362.1 MB, free: 1.172 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.1383, allocations: 189.5 kB / 362.3 MB, free: 0.9844 MB / 302.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.002327/0.1407, allocations: 2.115 MB / 364.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.141, allocations: 194.5 kB / 364.6 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.1411, allocations: 84.83 kB / 364.7 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.1413, allocations: 255.5 kB / 365 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.1413, allocations: 38.5 kB / 365 MB, free: 14.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.1413, allocations: 0 / 365 MB, free: 14.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002599/0.1439, allocations: 1.011 MB / 366 MB, free: 12.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.144, allocations: 55.41 kB / 366.1 MB, free: 12.86 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.1443, allocations: 278.4 kB / 366.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.1443, allocations: 33.7 kB / 366.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1444, allocations: 180.1 kB / 366.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/0.1445, allocations: 106.5 kB / 366.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.494e-05/0.1446, allocations: 74 kB / 366.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1447, allocations: 338.8 kB / 367.1 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.1449, allocations: 84.72 kB / 367.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.1451, allocations: 170.6 kB / 367.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.1455, allocations: 277.2 kB / 367.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1455, allocations: 0 / 367.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006018/0.1461, allocations: 381.6 kB / 367.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1461, allocations: 8 kB / 368 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1461, allocations: 4 kB / 368 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004084/0.1465, allocations: 101 kB / 368.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.1468, allocations: 67.91 kB / 368.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005155/0.1473, allocations: 0.6537 MB / 368.8 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.1475, allocations: 12.03 kB / 368.8 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.1476, allocations: 20 kB / 368.8 MB, free: 9.973 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.1478, allocations: 161.8 kB / 369 MB, free: 9.805 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.1478, allocations: 35.56 kB / 369 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006187/0.1485, allocations: 365 kB / 369.4 MB, free: 9.387 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.1485, allocations: 8 kB / 369.4 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1485, allocations: 0 / 369.4 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005117/0.149, allocations: 0.563 MB / 369.9 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.15, allocations: 0.739 MB / 370.7 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1501, allocations: 0 / 370.7 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.1502, allocations: 39.92 kB / 370.7 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/0.1507, allocations: 100.8 kB / 370.8 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.1507, allocations: 11.98 kB / 370.8 MB, free: 7.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005299/0.1513, allocations: 0.6381 MB / 371.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1513, allocations: 0 / 371.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007062/0.152, allocations: 493.5 kB / 371.9 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.1521, allocations: 100.8 kB / 372 MB, free: 6.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.1521, allocations: 8.125 kB / 372 MB, free: 6.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.1524, allocations: 23.92 kB / 372.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.1524, allocations: 15.98 kB / 372.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.1525, allocations: 11.98 kB / 372.1 MB, free: 6.422 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.1526, allocations: 205.9 kB / 372.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1527, allocations: 0 / 372.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004178/0.1531, allocations: 108 kB / 372.4 MB, free: 6.117 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001092/0.1542, allocations: 1.062 MB / 373.5 MB, free: 5.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000497/0.1547, allocations: 251.6 kB / 373.7 MB, free: 4.773 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1547, allocations: 0 / 373.7 MB, free: 4.773 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.155, allocations: 123.9 kB / 373.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009468/0.1559, allocations: 161.2 kB / 374 MB, free: 4.496 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.1594, allocations: 3.215 MB / 377.2 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1597, allocations: 0.7606 MB / 378 MB, free: 356 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002903/0.16, allocations: 67.19 kB / 378 MB, free: 288 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.1602, allocations: 103.4 kB / 378.1 MB, free: 184 kB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1602, allocations: 0 / 378.1 MB, free: 184 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1739/0.3341, allocations: 10.02 MB / 388.2 MB, free: 54.29 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.3343, allocations: 254.5 kB / 388.4 MB, free: 54.03 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/2.367, allocations: 0 / 388.4 MB, free: 54.03 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches