Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001581/0.001581, allocations: 99.66 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001778/0.001778, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] 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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2366, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005221/0.2418, allocations: 3.372 MB / 435.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.2439, allocations: 0.9579 MB / 436.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.2441, allocations: 11.94 kB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.2445, allocations: 103.1 kB / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00048/0.245, allocations: 210.3 kB / 437 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.2453, allocations: 127.8 kB / 437.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008365/0.2461, allocations: 0.6847 MB / 437.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.2464, allocations: 122.9 kB / 437.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.2467, allocations: 263.1 kB / 438.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000358/0.2471, allocations: 258.7 kB / 438.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.785e-05/0.2472, allocations: 60 kB / 438.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.2473, allocations: 56 kB / 438.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.2474, allocations: 123.6 kB / 438.6 MB, free: 404 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.2477, allocations: 266.8 kB / 438.9 MB, free: 136 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008092/0.2485, allocations: 0.6962 MB / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2485, allocations: 0 / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2485, allocations: 0 / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.2485, allocations: 0 / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001679/0.2502, allocations: 0.8333 MB / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.2502, allocations: 11.97 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.2504, allocations: 76.45 kB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008244/0.2512, allocations: 369.1 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.2513, allocations: 110.3 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.776e-05/0.2514, allocations: 40.33 kB / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.2526, allocations: 0.858 MB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.2526, allocations: 0 / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/0.2526, allocations: 16 kB / 441.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.2526, allocations: 8 kB / 441.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008919/0.2535, allocations: 342.3 kB / 442.2 MB, free: 12.57 MB / 350.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.002099/0.2556, allocations: 0.9323 MB / 443.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007106/0.2563, allocations: 282.4 kB / 443.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/0.2568, allocations: 164.8 kB / 443.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/0.2568, allocations: 4 kB / 443.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.2568, allocations: 46.55 kB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.2568, allocations: 0 / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001691/0.2585, allocations: 0.5712 MB / 444.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000278/0.2588, allocations: 448.9 kB / 444.7 MB, free: 9.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.2594, allocations: 426 kB / 445.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.331e-05/0.2594, allocations: 33.7 kB / 445.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.2597, allocations: 252.5 kB / 445.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.2598, allocations: 126.8 kB / 445.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.2599, allocations: 81.47 kB / 445.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.2601, allocations: 362.7 kB / 445.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.2606, allocations: 157.6 kB / 446.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007954/0.2613, allocations: 0.6816 MB / 446.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008223/0.2622, allocations: 341.2 kB / 447.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2622, allocations: 0 / 447.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001164/0.2633, allocations: 0.5075 MB / 447.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/0.2634, allocations: 37.7 kB / 447.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2634, allocations: 0 / 447.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.2636, allocations: 49.69 kB / 447.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.264, allocations: 79.89 kB / 447.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.2668, allocations: 2.708 MB / 450.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.2673, allocations: 51.8 kB / 450.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.2673, allocations: 8 kB / 450.5 MB, free: 3.648 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002629/0.2676, allocations: 181.9 kB / 450.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.2677, allocations: 47.72 kB / 450.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.2678, allocations: 52.58 kB / 450.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2678, allocations: 4 kB / 450.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2678, allocations: 0 / 450.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/0.2689, allocations: 0.7309 MB / 451.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.2706, allocations: 0.8526 MB / 452.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2706, allocations: 0 / 452.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.2711, allocations: 91.88 kB / 452.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2711, allocations: 0 / 452.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.2711, allocations: 11.98 kB / 452.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.2711, allocations: 0 / 452.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2711, allocations: 0 / 452.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.2725, allocations: 0.6611 MB / 453.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.2727, allocations: 83.62 kB / 453.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.2728, allocations: 8.234 kB / 453.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.2732, allocations: 31.97 kB / 453.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/0.2732, allocations: 23.95 kB / 453.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.2733, allocations: 11.98 kB / 453.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004025/0.2737, allocations: 311.1 kB / 453.6 MB, free: 400 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2737, allocations: 0 / 453.6 MB, free: 400 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004827/0.2742, allocations: 139.9 kB / 453.8 MB, free: 260 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001467/0.2743, allocations: 107.2 kB / 453.9 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.2757, allocations: 0.6504 MB / 454.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2757, allocations: 3.938 kB / 454.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004127/0.2761, allocations: 159.8 kB / 454.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.2768, allocations: 136.4 kB / 454.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.2786, allocations: 0.9799 MB / 455.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.2788, allocations: 224.5 kB / 456 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.279, allocations: 39.44 kB / 456 MB, free: 13.85 MB / 366.1 MB Notification: Performance of SimCode: time 1.263e-06/0.279, allocations: 0 / 456 MB, free: 13.85 MB / 366.1 MB Notification: Performance of Templates: time 0.01401/0.293, allocations: 8.989 MB / 465 MB, free: 4.93 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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: 8.267678156960756]