Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.0009177/0.0009177, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001313/0.00223, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.00088/0.00088, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.002056, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9388/0.9388, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07715/1.016, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.21e-07/9.21e-07, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.695e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004077/0.004094, allocations: 5.042 MB / 249.7 MB, free: 9.164 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.005852, allocations: 1.382 MB / 251.1 MB, free: 7.777 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.006061, allocations: 11.94 kB / 251.1 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.006283, allocations: 166.5 kB / 251.3 MB, free: 7.602 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.006675, allocations: 352.9 kB / 251.6 MB, free: 7.254 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.006968, allocations: 231.5 kB / 251.9 MB, free: 7.027 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008227/0.007791, allocations: 1.226 MB / 253.1 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.008029, allocations: 228.5 kB / 253.3 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006799/0.008709, allocations: 0.8193 MB / 254.1 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.009066, allocations: 379 kB / 254.5 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.009167, allocations: 107.9 kB / 254.6 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.009282, allocations: 104 kB / 254.7 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9e-05/0.009372, allocations: 155.5 kB / 254.9 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.009596, allocations: 319.4 kB / 255.2 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.0101, allocations: 0.6968 MB / 255.9 MB, free: 2.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.01011, allocations: 4 kB / 255.9 MB, free: 2.977 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.01011, allocations: 3.938 kB / 255.9 MB, free: 2.973 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.01012, allocations: 4 kB / 255.9 MB, free: 2.969 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001202/0.01132, allocations: 1.431 MB / 257.3 MB, free: 1.492 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.559e-05/0.01135, allocations: 12.03 kB / 257.3 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.01147, allocations: 128.8 kB / 257.5 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.01186, allocations: 390 kB / 257.8 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.01199, allocations: 293.2 kB / 258.1 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.01206, allocations: 76.36 kB / 258.2 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007403/0.0128, allocations: 1.406 MB / 259.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.01282, allocations: 7.891 kB / 259.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.01285, allocations: 28 kB / 259.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.01286, allocations: 16 kB / 259.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.01312, allocations: 198.3 kB / 259.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.01455, allocations: 1.027 MB / 260.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.01489, allocations: 311.3 kB / 261.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.01506, allocations: 160.2 kB / 261.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.0151, allocations: 16.64 kB / 261.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.01513, allocations: 55.09 kB / 261.4 MB, free: 13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.623e-06/0.01513, allocations: 0 / 261.4 MB, free: 13 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001485/0.01661, allocations: 0.8169 MB / 262.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.01664, allocations: 64.06 kB / 262.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.01692, allocations: 0.4961 MB / 262.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.01696, allocations: 45.7 kB / 262.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.01707, allocations: 251.2 kB / 263.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.0173, allocations: 265.6 kB / 263.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.01743, allocations: 146.6 kB / 263.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.01753, allocations: 394.6 kB / 263.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.01767, allocations: 163 kB / 264 MB, free: 10.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.01811, allocations: 1.176 MB / 265.2 MB, free: 8.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.0184, allocations: 370 kB / 265.6 MB, free: 8.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.0184, allocations: 0 / 265.6 MB, free: 8.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006822/0.01908, allocations: 0.6726 MB / 266.2 MB, free: 7.703 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.01913, allocations: 85.09 kB / 266.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.01913, allocations: 4 kB / 266.3 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003145/0.01945, allocations: 167.2 kB / 266.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/0.02004, allocations: 190.1 kB / 266.7 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.02281, allocations: 5.309 MB / 272 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.02311, allocations: 87.52 kB / 272.1 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.02314, allocations: 19.94 kB / 272.1 MB, free: 1.477 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.02328, allocations: 157.8 kB / 272.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/0.02336, allocations: 79.91 kB / 272.3 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.19e-05/0.02344, allocations: 91.02 kB / 272.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.02344, allocations: 4 kB / 272.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.02344, allocations: 4 kB / 272.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006347/0.02408, allocations: 0.7879 MB / 273.2 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.02546, allocations: 0.9639 MB / 274.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.02546, allocations: 96 / 274.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.02585, allocations: 178.4 kB / 274.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.02599, allocations: 87.34 kB / 274.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002547/0.02625, allocations: 146.4 kB / 274.6 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.02627, allocations: 11.98 kB / 274.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.02841, allocations: 4.033 MB / 278.6 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.02841, allocations: 4 kB / 278.6 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007939/0.02921, allocations: 0.6971 MB / 279.3 MB, free: 9.789 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/0.02926, allocations: 16 kB / 279.3 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.02953, allocations: 43.97 kB / 279.4 MB, free: 9.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.02963, allocations: 68.53 kB / 279.4 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.02965, allocations: 15.98 kB / 279.4 MB, free: 9.645 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.02981, allocations: 248.6 kB / 279.7 MB, free: 9.406 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02981, allocations: 0 / 279.7 MB, free: 9.406 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004604/0.03027, allocations: 283.7 kB / 280 MB, free: 9.129 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 9.118e-05/0.03036, allocations: 104.3 kB / 280.1 MB, free: 9.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008393/0.0312, allocations: 1.081 MB / 281.1 MB, free: 7.824 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.709e-05/0.03122, allocations: 23.92 kB / 281.2 MB, free: 7.801 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004688/0.03169, allocations: 0.6239 MB / 281.8 MB, free: 7.137 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.03271, allocations: 2.286 MB / 284.1 MB, free: 4.402 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008346/0.04105, allocations: 1.339 MB / 285.4 MB, free: 3.027 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.979e-05/0.04114, allocations: 161.2 kB / 285.6 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.04137, allocations: 106.4 kB / 285.7 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005448/0.04191, allocations: 389 kB / 286.1 MB, free: 2.359 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.04191, allocations: 0 / 286.1 MB, free: 2.359 MB / 282.7 MB Notification: Performance of Templates: time 0.1049/0.1468, allocations: 23.07 MB / 309.1 MB, free: 27.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1778963916003704]