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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.201/1.201, allocations: 205.1 MB / 223.8 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009617/0.0009619, allocations: 102.3 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007632/0.0007632, allocations: 39.94 kB / 327.2 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1995, allocations: 46.61 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.0194/0.219, allocations: 25.17 MB / 399 MB, free: 24.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.2212, allocations: 2.554 MB / 401.5 MB, free: 21.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.2214, allocations: 4 kB / 401.6 MB, free: 21.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.2219, allocations: 131.2 kB / 401.7 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.2223, allocations: 322.5 kB / 402 MB, free: 21.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.224, allocations: 0.8871 MB / 402.9 MB, free: 20.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007597/0.2247, allocations: 1.351 MB / 404.2 MB, free: 19.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.2249, allocations: 77.73 kB / 404.3 MB, free: 18.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003271/0.2281, allocations: 2.981 MB / 407.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.2284, allocations: 294.8 kB / 407.6 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.2285, allocations: 16 kB / 407.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.2289, allocations: 215.7 kB / 407.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.371e-05/0.229, allocations: 83.64 kB / 407.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.2291, allocations: 175.3 kB / 408.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.2296, allocations: 0.5648 MB / 408.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2296, allocations: 0 / 408.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2296, allocations: 0 / 408.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.2296, allocations: 8 kB / 408.6 MB, free: 14.62 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.0006471/0.2303, allocations: 0.6236 MB / 409.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2303, allocations: 12.03 kB / 409.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.2306, allocations: 48.55 kB / 409.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.2309, allocations: 291.6 kB / 409.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.2309, allocations: 20.94 kB / 409.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.2309, allocations: 24.38 kB / 409.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.2313, allocations: 342.4 kB / 410 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2313, allocations: 3.938 kB / 410 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.2314, allocations: 12 kB / 410 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2314, allocations: 12 kB / 410 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.2316, allocations: 185.5 kB / 410.2 MB, free: 12.94 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.001327/0.233, allocations: 2.119 MB / 412.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.2332, allocations: 178.6 kB / 412.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.892e-05/0.2333, allocations: 88.72 kB / 412.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.2334, allocations: 255.5 kB / 412.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.2335, allocations: 38.56 kB / 412.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.2335, allocations: 0 / 412.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.001985/0.2355, allocations: 1.017 MB / 413.9 MB, free: 8.879 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.2355, allocations: 55.41 kB / 413.9 MB, free: 8.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.2357, allocations: 262.6 kB / 414.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.2357, allocations: 29.7 kB / 414.2 MB, free: 8.512 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.2358, allocations: 184.2 kB / 414.4 MB, free: 8.328 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.2358, allocations: 106.4 kB / 414.5 MB, free: 8.223 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.2359, allocations: 66.08 kB / 414.6 MB, free: 8.152 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.643e-05/0.2359, allocations: 350.7 kB / 414.9 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.2361, allocations: 84.72 kB / 415 MB, free: 7.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.2362, allocations: 170.6 kB / 415.1 MB, free: 7.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.2365, allocations: 289.1 kB / 415.4 MB, free: 7.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2365, allocations: 0 / 415.4 MB, free: 7.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004397/0.2369, allocations: 377.6 kB / 415.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.237, allocations: 8.312 kB / 415.8 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.237, allocations: 4 kB / 415.8 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/0.2373, allocations: 100.7 kB / 415.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.2375, allocations: 63.91 kB / 416 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003691/0.2379, allocations: 0.6537 MB / 416.6 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.2381, allocations: 16.09 kB / 416.6 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.2381, allocations: 20 kB / 416.7 MB, free: 5.934 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.0001125/0.2382, allocations: 153.8 kB / 416.8 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.2383, allocations: 35.59 kB / 416.8 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004939/0.2388, allocations: 375.3 kB / 417.2 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.2388, allocations: 4 kB / 417.2 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2388, allocations: 0 / 417.2 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003231/0.2392, allocations: 0.5592 MB / 417.8 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000767/0.2399, allocations: 0.7556 MB / 418.5 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.2399, allocations: 0 / 418.5 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.2401, allocations: 31.92 kB / 418.6 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000401/0.2405, allocations: 100.8 kB / 418.7 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.2405, allocations: 8 kB / 418.7 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003136/0.2408, allocations: 0.6382 MB / 419.3 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2408, allocations: 0 / 419.3 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006184/0.247, allocations: 4.792 MB / 424.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/0.2471, allocations: 100.7 kB / 424.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.2472, allocations: 16.12 kB / 424.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.2474, allocations: 16.08 kB / 424.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.2475, allocations: 19.91 kB / 424.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.2475, allocations: 15.98 kB / 424.3 MB, free: 13.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001792/0.2477, allocations: 198 kB / 424.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2477, allocations: 0 / 424.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005896/0.2483, allocations: 172 kB / 424.6 MB, free: 13.42 MB / 314.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.0002439/0.2485, allocations: 163.2 kB / 424.8 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004407/0.249, allocations: 228 kB / 425 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.249, allocations: 4 kB / 425 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002573/0.2493, allocations: 136.4 kB / 425.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009554/0.2502, allocations: 164.3 kB / 425.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.2516, allocations: 1.094 MB / 426.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.2519, allocations: 0.7761 MB / 427.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003103/0.2522, allocations: 75.17 kB / 427.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.23e-05/0.2523, allocations: 31.44 kB / 427.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2523, allocations: 0 / 427.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of Templates: time 0.01202/0.2643, allocations: 8.143 MB / 435.4 MB, free: 2.547 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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