Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009527/0.0009528, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.269/1.269, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.000723/0.0007231, allocations: 90.41 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003231, allocations: 12 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2186, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.01968/0.2383, allocations: 22.58 MB / 397.7 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.2411, allocations: 2.361 MB / 400 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004151/0.2415, allocations: 7.938 kB / 400 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.2421, allocations: 115.3 kB / 400.2 MB, free: 23.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000579/0.2426, allocations: 306.4 kB / 400.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.2446, allocations: 0.8264 MB / 401.3 MB, free: 22.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008835/0.2455, allocations: 1.113 MB / 402.4 MB, free: 21.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.2457, allocations: 69.75 kB / 402.5 MB, free: 21.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004009/0.2497, allocations: 2.843 MB / 405.3 MB, free: 18.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003826/0.2501, allocations: 274.9 kB / 405.6 MB, free: 18.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.2502, allocations: 12 kB / 405.6 MB, free: 18.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005594/0.2507, allocations: 215.7 kB / 405.8 MB, free: 17.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.277e-05/0.2508, allocations: 75.72 kB / 405.9 MB, free: 17.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.251, allocations: 201 kB / 406.1 MB, free: 17.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004864/0.2515, allocations: 438.9 kB / 406.5 MB, free: 17.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2515, allocations: 3.938 kB / 406.5 MB, free: 17.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2515, allocations: 0 / 406.5 MB, free: 17.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.2516, allocations: 0 / 406.5 MB, free: 17.25 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.0006946/0.2523, allocations: 0.5536 MB / 407 MB, free: 16.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2523, allocations: 12.03 kB / 407.1 MB, free: 16.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/0.2527, allocations: 48.55 kB / 407.1 MB, free: 16.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.253, allocations: 291.7 kB / 407.4 MB, free: 16.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.253, allocations: 20.94 kB / 407.4 MB, free: 16.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.253, allocations: 24.38 kB / 407.4 MB, free: 16.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.2534, allocations: 334.4 kB / 407.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.2535, allocations: 4 kB / 407.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.2535, allocations: 12 kB / 407.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2535, allocations: 8 kB / 407.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.2538, allocations: 189.5 kB / 408 MB, free: 15.65 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.001602/0.2554, allocations: 2.115 MB / 410.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.2557, allocations: 185 kB / 410.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.2558, allocations: 84.78 kB / 410.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.2559, allocations: 255.3 kB / 410.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.256, allocations: 34.56 kB / 410.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 3.106e-06/0.256, allocations: 7.984 kB / 410.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.00231/0.2583, allocations: 1.016 MB / 411.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.2584, allocations: 55.41 kB / 411.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.2586, allocations: 266.5 kB / 412 MB, free: 11.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.2586, allocations: 33.7 kB / 412 MB, free: 11.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.105e-05/0.2587, allocations: 176.2 kB / 412.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.2587, allocations: 106.5 kB / 412.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.2588, allocations: 12 kB / 412.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.603e-05/0.2588, allocations: 342.8 kB / 412.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.2589, allocations: 80.72 kB / 412.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.2591, allocations: 170.6 kB / 412.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.2594, allocations: 285.2 kB / 413.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2594, allocations: 0 / 413.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004938/0.2599, allocations: 377.5 kB / 413.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2599, allocations: 8.312 kB / 413.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2599, allocations: 4 kB / 413.5 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/0.2603, allocations: 96.78 kB / 413.6 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.2606, allocations: 63.91 kB / 413.7 MB, free: 9.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004047/0.261, allocations: 0.6576 MB / 414.3 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.2612, allocations: 20.06 kB / 414.4 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.2612, allocations: 19.98 kB / 414.4 MB, free: 8.715 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.2614, allocations: 149.8 kB / 414.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.2615, allocations: 31.66 kB / 414.6 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000547/0.262, allocations: 379.3 kB / 414.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.262, allocations: 0 / 414.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.262, allocations: 4 kB / 414.9 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003619/0.2624, allocations: 0.5515 MB / 415.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008813/0.2633, allocations: 0.7468 MB / 416.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2633, allocations: 0 / 416.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.2635, allocations: 35.97 kB / 416.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/0.2639, allocations: 100.7 kB / 416.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.2639, allocations: 8 kB / 416.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003499/0.2643, allocations: 0.6498 MB / 417 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2643, allocations: 0 / 417 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005796/0.2649, allocations: 485.4 kB / 417.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.265, allocations: 108.8 kB / 417.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.265, allocations: 4 kB / 417.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.2653, allocations: 19.89 kB / 417.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.2653, allocations: 15.98 kB / 417.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.2653, allocations: 11.98 kB / 417.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.2655, allocations: 198 kB / 417.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2655, allocations: 4.062 kB / 417.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004109/0.2659, allocations: 119.9 kB / 418 MB, free: 4.863 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002122/0.2661, allocations: 139.2 kB / 418.1 MB, free: 4.719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004463/0.2666, allocations: 236.3 kB / 418.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2666, allocations: 4 kB / 418.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.2668, allocations: 119.9 kB / 418.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008974/0.2677, allocations: 167 kB / 418.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2688, allocations: 0.7948 MB / 419.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.269, allocations: 0.7609 MB / 420.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.384e-05/0.2691, allocations: 39.42 kB / 420.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2691, allocations: 0 / 420.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of Templates: time 0.008398/0.2775, allocations: 6.31 MB / 426.5 MB, free: 12.25 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches