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.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.0009312/0.0009312, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.006163/0.006163, allocations: 162.6 kB / 24.69 MB, free: 9.402 MB / 18.57 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 0.8553/0.8553, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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(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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 298.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.787e-05, allocations: 2.281 kB / 298.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.1389/0.1389, allocations: 22.33 MB / 320.8 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.1413, allocations: 2.317 MB / 323.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.1416, allocations: 6.875 kB / 323.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.1421, allocations: 157.5 kB / 323.3 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007614/0.1429, allocations: 351.2 kB / 323.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.1449, allocations: 1.015 MB / 324.7 MB, free: 148 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.146, allocations: 0.9055 MB / 325.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.1461, allocations: 71.95 kB / 325.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003888/0.15, allocations: 2.913 MB / 328.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004367/0.1505, allocations: 243.6 kB / 328.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.338e-05/0.1505, allocations: 30.44 kB / 328.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005219/0.151, allocations: 254.8 kB / 329.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1512, allocations: 103 kB / 329.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.1513, allocations: 148 kB / 329.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006933/0.152, allocations: 0.6008 MB / 329.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.152, allocations: 8.156 kB / 329.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.152, allocations: 0 / 329.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.152, allocations: 0 / 329.9 MB, free: 13.35 MB / 298.7 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.0007488/0.1528, allocations: 0.5571 MB / 330.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1528, allocations: 13.73 kB / 330.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.692e-05/0.1529, allocations: 63.69 kB / 330.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.1531, allocations: 48.83 kB / 330.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.1535, allocations: 246 kB / 330.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1535, allocations: 19.75 kB / 330.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.1535, allocations: 29.02 kB / 330.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.154, allocations: 0.5579 MB / 331.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.154, allocations: 1.656 kB / 331.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.154, allocations: 16.97 kB / 331.5 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.154, allocations: 6.594 kB / 331.5 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.1543, allocations: 190.2 kB / 331.7 MB, free: 11.91 MB / 298.7 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.001288/0.1556, allocations: 1.436 MB / 333.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.1558, allocations: 176.1 kB / 333.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.346e-05/0.1559, allocations: 82.81 kB / 333.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.484e-05/0.1559, allocations: 18.17 kB / 333.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.1559, allocations: 37.44 kB / 333.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.993e-06/0.1559, allocations: 0 / 333.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.00163/0.1576, allocations: 0.8791 MB / 334.3 MB, free: 9.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.1576, allocations: 54.84 kB / 334.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.1578, allocations: 269.6 kB / 334.6 MB, free: 9.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.1578, allocations: 31.98 kB / 334.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/0.1579, allocations: 186.4 kB / 334.8 MB, free: 9.414 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.158, allocations: 111.5 kB / 334.9 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.611e-05/0.158, allocations: 73.92 kB / 335 MB, free: 9.266 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.671e-05/0.1581, allocations: 341.5 kB / 335.3 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.826e-05/0.1582, allocations: 85.42 kB / 335.4 MB, free: 8.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1584, allocations: 170.4 kB / 335.6 MB, free: 8.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.1586, allocations: 271.3 kB / 335.8 MB, free: 8.559 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1586, allocations: 1.25 kB / 335.8 MB, free: 8.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000418/0.1591, allocations: 391 kB / 336.2 MB, free: 8.348 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1591, allocations: 6.5 kB / 336.2 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1591, allocations: 2.156 kB / 336.2 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002773/0.1594, allocations: 88.67 kB / 336.3 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1595, allocations: 70.77 kB / 336.4 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003823/0.1599, allocations: 0.6562 MB / 337 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.16, allocations: 7.031 kB / 337 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.16, allocations: 23.12 kB / 337.1 MB, free: 7.676 MB / 298.7 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.0001279/0.1602, allocations: 159.6 kB / 337.2 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.1602, allocations: 26.98 kB / 337.2 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/0.1606, allocations: 378.4 kB / 337.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1606, allocations: 3.984 kB / 337.6 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1606, allocations: 4 kB / 337.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003428/0.161, allocations: 0.5435 MB / 338.2 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000696/0.1617, allocations: 0.669 MB / 338.8 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1617, allocations: 0 / 338.8 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.1618, allocations: 35.98 kB / 338.9 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002993/0.1621, allocations: 96.72 kB / 339 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.1621, allocations: 11.98 kB / 339 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003303/0.1624, allocations: 0.6344 MB / 339.6 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1624, allocations: 3.938 kB / 339.6 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.1629, allocations: 493.8 kB / 340.1 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.163, allocations: 31.77 kB / 340.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.163, allocations: 8 kB / 340.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.1631, allocations: 8 kB / 340.1 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.1631, allocations: 19.97 kB / 340.2 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.1632, allocations: 11.98 kB / 340.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1633, allocations: 197.3 kB / 340.4 MB, free: 4.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1633, allocations: 8 kB / 340.4 MB, free: 4.191 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000324/0.1636, allocations: 115.9 kB / 340.5 MB, free: 4.078 MB / 298.7 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.0007728/0.1644, allocations: 1.054 MB / 341.5 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.1647, allocations: 224.5 kB / 341.8 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1647, allocations: 4.125 kB / 341.8 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.1649, allocations: 119.5 kB / 341.9 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/0.1655, allocations: 177.4 kB / 342.1 MB, free: 2.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.1684, allocations: 3.056 MB / 345.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.1685, allocations: 151.9 kB / 345.3 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002264/0.1687, allocations: 75.09 kB / 345.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1688, allocations: 96.47 kB / 345.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1688, allocations: 0 / 345.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.1927, allocations: 11.28 MB / 356.7 MB, free: 3.586 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/7.811, allocations: 3.984 kB / 356.7 MB, free: 3.582 MB / 314.7 MB " [Timeout remaining time 652] (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 --stepSize=0.000201919 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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: 9.425558399409056]