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.001855/0.001855, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002258/0.002258, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001635/0.001635, allocations: 43.92 kB / 378.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2412, allocations: 53.36 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005099/0.2463, allocations: 3.718 MB / 435.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.2484, allocations: 1.028 MB / 436.4 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.2486, allocations: 7.938 kB / 436.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.249, allocations: 103.1 kB / 436.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004116/0.2494, allocations: 206.3 kB / 436.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.2497, allocations: 135.8 kB / 436.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000789/0.2505, allocations: 0.673 MB / 437.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.2507, allocations: 130.9 kB / 437.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.251, allocations: 267 kB / 437.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.2514, allocations: 290.8 kB / 438.1 MB, free: 380 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.9e-05/0.2515, allocations: 64 kB / 438.2 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.982e-05/0.2516, allocations: 56 kB / 438.3 MB, free: 260 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.2517, allocations: 135.5 kB / 438.4 MB, free: 124 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003226/0.252, allocations: 310.5 kB / 438.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008/0.2528, allocations: 0.6938 MB / 439.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2528, allocations: 0 / 439.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2528, allocations: 0 / 439.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.2529, allocations: 0 / 439.4 MB, free: 15.12 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.001613/0.2545, allocations: 0.8333 MB / 440.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2545, allocations: 12.03 kB / 440.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.2546, allocations: 72.45 kB / 440.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008235/0.2555, allocations: 373.1 kB / 440.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.2556, allocations: 110.3 kB / 440.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/0.2557, allocations: 36.33 kB / 440.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008759/0.2566, allocations: 489 kB / 441.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.2566, allocations: 0 / 441.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.2566, allocations: 16 kB / 441.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.2566, allocations: 8 kB / 441.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008287/0.2575, allocations: 342.3 kB / 441.7 MB, free: 12.73 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.002259/0.2597, allocations: 1.24 MB / 442.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007802/0.2605, allocations: 278.4 kB / 443.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/0.2609, allocations: 168.7 kB / 443.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.088e-05/0.261, allocations: 7.984 kB / 443.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.261, allocations: 42.56 kB / 443.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.513e-06/0.261, allocations: 0 / 443.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001677/0.2627, allocations: 0.575 MB / 444 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002508/0.263, allocations: 452.9 kB / 444.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/0.2635, allocations: 454 kB / 444.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.2635, allocations: 33.7 kB / 444.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.2637, allocations: 240.6 kB / 445.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.2639, allocations: 126.9 kB / 445.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.264, allocations: 81.47 kB / 445.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.2642, allocations: 362.7 kB / 445.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.2645, allocations: 135.9 kB / 445.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.2651, allocations: 286.8 kB / 446.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.2658, allocations: 333.2 kB / 446.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2658, allocations: 4 kB / 446.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001049/0.2669, allocations: 486 kB / 446.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.2669, allocations: 33.7 kB / 446.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2669, allocations: 0 / 446.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.2671, allocations: 61.66 kB / 447 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.2675, allocations: 79.94 kB / 447.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.2703, allocations: 2.77 MB / 449.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.2707, allocations: 47.8 kB / 449.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.2708, allocations: 19.88 kB / 449.9 MB, free: 3.906 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.0002541/0.271, allocations: 181.7 kB / 450.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.98e-05/0.2711, allocations: 55.67 kB / 450.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.2712, allocations: 48.77 kB / 450.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2712, allocations: 7.938 kB / 450.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2713, allocations: 0 / 450.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/0.2723, allocations: 0.7348 MB / 450.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.2741, allocations: 0.977 MB / 451.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2741, allocations: 0 / 451.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.2745, allocations: 87.94 kB / 452 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.2745, allocations: 3.984 kB / 452 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.2746, allocations: 11.94 kB / 452 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2746, allocations: 3.938 kB / 452 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2746, allocations: 0 / 452 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.2759, allocations: 0.6534 MB / 452.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.2761, allocations: 95.52 kB / 452.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-05/0.2762, allocations: 15.94 kB / 452.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.2766, allocations: 23.97 kB / 452.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.2766, allocations: 23.95 kB / 452.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.2767, allocations: 16.06 kB / 452.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004112/0.2771, allocations: 323.1 kB / 453.1 MB, free: 492 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2771, allocations: 0 / 453.1 MB, free: 492 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004887/0.2776, allocations: 139.8 kB / 453.3 MB, free: 352 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.0001532/0.2777, allocations: 109.4 kB / 453.4 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.279, allocations: 0.6176 MB / 454 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.279, allocations: 4 kB / 454 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004035/0.2794, allocations: 163.8 kB / 454.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/0.2801, allocations: 136.6 kB / 454.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.2818, allocations: 0.9508 MB / 455.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.2823, allocations: 0.8313 MB / 456.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002316/0.2826, allocations: 64.34 kB / 456.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.2827, allocations: 43.44 kB / 456.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2827, allocations: 0 / 456.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of Templates: time 0.01762/0.3003, allocations: 9.2 MB / 465.4 MB, free: 4.289 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/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: 4.767174743115902]