Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001679/0.001679, allocations: 105.2 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002146/0.002146, allocations: 214 kB / 22.99 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.2 MB / 256.2 MB, free: 8.559 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 63.89 kB / 376.5 MB, free: 3.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2349, allocations: 53.32 MB / 429.8 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003761/0.2386, allocations: 2.547 MB / 432.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2398, allocations: 0.6934 MB / 433 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.2399, allocations: 4 kB / 433 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.24, allocations: 39.58 kB / 433.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.2402, allocations: 63.41 kB / 433.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.2404, allocations: 67.84 kB / 433.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.2407, allocations: 270.8 kB / 433.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.2409, allocations: 75.42 kB / 433.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.2411, allocations: 95.7 kB / 433.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.2412, allocations: 107.5 kB / 433.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.2413, allocations: 24 kB / 433.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.508e-05/0.2414, allocations: 27.92 kB / 433.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.2414, allocations: 47.84 kB / 433.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.2415, allocations: 115.5 kB / 433.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.2418, allocations: 268.1 kB / 434.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2418, allocations: 0 / 434.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.2418, allocations: 4 kB / 434.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.2419, allocations: 0 / 434.2 MB, free: 3.152 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.0009839/0.2428, allocations: 0.5495 MB / 434.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2429, allocations: 8.031 kB / 434.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.243, allocations: 28.8 kB / 434.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.2433, allocations: 232.4 kB / 435 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.2433, allocations: 16.81 kB / 435 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.2433, allocations: 24.33 kB / 435 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.2438, allocations: 234.2 kB / 435.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2438, allocations: 0 / 435.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.2438, allocations: 12 kB / 435.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2438, allocations: 4 kB / 435.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.2443, allocations: 161.5 kB / 435.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.2456, allocations: 0.8091 MB / 436.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.246, allocations: 154.6 kB / 436.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.2461, allocations: 68.83 kB / 436.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.2462, allocations: 4 kB / 436.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.2462, allocations: 34.56 kB / 436.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.2462, allocations: 0 / 436.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008799/0.2471, allocations: 343.2 kB / 436.9 MB, free: 292 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.2471, allocations: 59.33 kB / 436.9 MB, free: 220 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.2473, allocations: 178.6 kB / 437.1 MB, free: 28 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.2473, allocations: 25.7 kB / 437.1 MB, free: 16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.827e-05/0.2474, allocations: 156.3 kB / 437.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.2475, allocations: 55.48 kB / 437.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.2475, allocations: 37.72 kB / 437.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2477, allocations: 334.8 kB / 437.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.2478, allocations: 47.97 kB / 437.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.248, allocations: 99.19 kB / 437.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.2483, allocations: 136.2 kB / 438 MB, free: 15.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.2483, allocations: 8 kB / 438 MB, free: 15.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000469/0.2488, allocations: 216.9 kB / 438.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2488, allocations: 4 kB / 438.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2488, allocations: 4 kB / 438.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/0.249, allocations: 36.83 kB / 438.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.2491, allocations: 40.03 kB / 438.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.2504, allocations: 1.473 MB / 439.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.2506, allocations: 31.81 kB / 439.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.2506, allocations: 4 kB / 439.8 MB, free: 13.13 MB / 350.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.0001232/0.2507, allocations: 133.8 kB / 439.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.2508, allocations: 15.91 kB / 439.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.2508, allocations: 17.94 kB / 439.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2508, allocations: 8 kB / 439.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.2508, allocations: 0 / 439.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2508, allocations: 7.922 kB / 439.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000749/0.2516, allocations: 0.5108 MB / 440.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2516, allocations: 0 / 440.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.2517, allocations: 31.92 kB / 440.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.2518, allocations: 36.77 kB / 440.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.2518, allocations: 8 kB / 440.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.253, allocations: 1.469 MB / 442 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.253, allocations: 3.938 kB / 442 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006209/0.2537, allocations: 346.8 kB / 442.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/0.2538, allocations: 109.1 kB / 442.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.2538, allocations: 4 kB / 442.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.254, allocations: 27.91 kB / 442.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.2541, allocations: 19.97 kB / 442.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.2541, allocations: 4 kB / 442.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.2542, allocations: 124.3 kB / 442.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2542, allocations: 0 / 442.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.2545, allocations: 63.89 kB / 442.7 MB, free: 9.961 MB / 350.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.0001193/0.2546, allocations: 99.25 kB / 442.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005183/0.2551, allocations: 254.4 kB / 443 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2551, allocations: 256 / 443 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.2554, allocations: 194.6 kB / 443.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.2557, allocations: 27.92 kB / 443.3 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008091/0.2565, allocations: 462.1 kB / 443.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.2569, allocations: 0.7359 MB / 444.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.516e-05/0.2569, allocations: 17.55 kB / 444.5 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.257, allocations: 19.44 kB / 444.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.257, allocations: 0 / 444.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of Templates: time 0.006195/0.2632, allocations: 2.541 MB / 447 MB, free: 5.57 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.474981462582946]