Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 47.92 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2462, allocations: 52.13 MB / 420.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003692/0.2499, allocations: 2.549 MB / 423.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.251, allocations: 0.6428 MB / 424 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.2511, allocations: 4 kB / 424 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.2512, allocations: 31.66 kB / 424.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.2514, allocations: 75.33 kB / 424.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.2516, allocations: 67.92 kB / 424.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.2519, allocations: 270.7 kB / 424.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.2521, allocations: 79.41 kB / 424.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.2522, allocations: 87.72 kB / 424.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.2524, allocations: 119.5 kB / 424.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.2524, allocations: 24 kB / 424.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.573e-05/0.2525, allocations: 24 kB / 424.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.2525, allocations: 43.84 kB / 424.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.2526, allocations: 123.4 kB / 425 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.2529, allocations: 256.2 kB / 425.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.253, allocations: 0 / 425.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.253, allocations: 0 / 425.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.253, allocations: 7.938 kB / 425.2 MB, free: 10.74 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000945/0.2539, allocations: 0.5533 MB / 425.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2539, allocations: 15.89 kB / 425.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.254, allocations: 24.8 kB / 425.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.2544, allocations: 232.4 kB / 426 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.2544, allocations: 20.81 kB / 426.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.2544, allocations: 20.38 kB / 426.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.2549, allocations: 226.2 kB / 426.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.2549, allocations: 0 / 426.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.2549, allocations: 12 kB / 426.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.2549, allocations: 7.938 kB / 426.3 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/0.2553, allocations: 157.6 kB / 426.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.2566, allocations: 0.8207 MB / 427.3 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.257, allocations: 146.6 kB / 427.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.2571, allocations: 68.83 kB / 427.5 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.2572, allocations: 4 kB / 427.5 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.2572, allocations: 38.55 kB / 427.5 MB, free: 8.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.2572, allocations: 0 / 427.5 MB, free: 8.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008501/0.258, allocations: 339.2 kB / 427.9 MB, free: 7.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.2581, allocations: 55.41 kB / 427.9 MB, free: 7.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.2583, allocations: 175.2 kB / 428.1 MB, free: 7.613 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.2583, allocations: 29.7 kB / 428.1 MB, free: 7.578 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.2584, allocations: 152.2 kB / 428.3 MB, free: 7.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.2584, allocations: 55.59 kB / 428.3 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.2585, allocations: 45.7 kB / 428.4 MB, free: 7.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2587, allocations: 330.7 kB / 428.7 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.2588, allocations: 55.97 kB / 428.8 MB, free: 6.934 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.259, allocations: 92.25 kB / 428.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.2593, allocations: 147.2 kB / 429 MB, free: 6.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2593, allocations: 0 / 429 MB, free: 6.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004663/0.2598, allocations: 214.1 kB / 429.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2598, allocations: 11.98 kB / 429.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2598, allocations: 4.125 kB / 429.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/0.26, allocations: 32.78 kB / 429.2 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.2601, allocations: 35.92 kB / 429.3 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.2615, allocations: 1.469 MB / 430.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.2617, allocations: 39.75 kB / 430.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.2617, allocations: 4 kB / 430.8 MB, free: 4.711 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.2618, allocations: 137.8 kB / 430.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.2619, allocations: 19.91 kB / 430.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.2619, allocations: 17.81 kB / 431 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2619, allocations: 4 kB / 431 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2619, allocations: 3.984 kB / 431 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/0.262, allocations: 3.938 kB / 431 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007768/0.2627, allocations: 0.5186 MB / 431.5 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2627, allocations: 0 / 431.5 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.2629, allocations: 23.98 kB / 431.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.263, allocations: 32.83 kB / 431.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.263, allocations: 8 kB / 431.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.2643, allocations: 1.465 MB / 433 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2643, allocations: 3.938 kB / 433 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/0.2649, allocations: 355.7 kB / 433.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.589e-05/0.265, allocations: 109 kB / 433.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.265, allocations: 4 kB / 433.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.2652, allocations: 15.98 kB / 433.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.2653, allocations: 24.03 kB / 433.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.2653, allocations: 4 kB / 433.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.2654, allocations: 128.3 kB / 433.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2654, allocations: 0 / 433.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.2657, allocations: 63.89 kB / 433.7 MB, free: 1.539 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001381/0.2659, allocations: 99.23 kB / 433.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000546/0.2664, allocations: 258.7 kB / 434.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2664, allocations: 0 / 434.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.2667, allocations: 178.7 kB / 434.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.267, allocations: 38.61 kB / 434.3 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00086/0.2679, allocations: 481.9 kB / 434.7 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.2684, allocations: 0.7359 MB / 435.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.361e-05/0.2684, allocations: 21.48 kB / 435.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.2685, allocations: 15.44 kB / 435.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2685, allocations: 0 / 435.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of Templates: time 0.00649/0.275, allocations: 2.521 MB / 438 MB, free: 13.14 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.4555735578760505]