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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001712/0.001712, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 67.88 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2517, allocations: 50.53 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003386/0.2551, allocations: 2.511 MB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2562, allocations: 0.6778 MB / 412.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.2564, allocations: 4 kB / 412.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.2565, allocations: 35.64 kB / 412.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.2567, allocations: 71.34 kB / 412.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.2569, allocations: 63.86 kB / 412.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.2572, allocations: 266.8 kB / 412.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.2574, allocations: 107.4 kB / 413 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.2575, allocations: 95.64 kB / 413 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.2577, allocations: 111.5 kB / 413.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.2577, allocations: 20 kB / 413.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.2578, allocations: 24 kB / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.2579, allocations: 51.83 kB / 413.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.258, allocations: 119.4 kB / 413.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.2583, allocations: 252.2 kB / 413.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2583, allocations: 3.984 kB / 413.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2583, allocations: 4 kB / 413.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.2583, allocations: 0 / 413.6 MB, free: 13.18 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.0008617/0.2592, allocations: 0.5459 MB / 414.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2592, allocations: 8.031 kB / 414.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.2593, allocations: 32.64 kB / 414.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.2596, allocations: 228.4 kB / 414.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2596, allocations: 20.75 kB / 414.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.2597, allocations: 20.28 kB / 414.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.2601, allocations: 242.1 kB / 414.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.2601, allocations: 0 / 414.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.2601, allocations: 4 kB / 414.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2602, allocations: 11.98 kB / 414.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.2605, allocations: 153.7 kB / 414.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.2617, allocations: 0.8126 MB / 415.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.2621, allocations: 162.6 kB / 415.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.2623, allocations: 80.81 kB / 415.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.2623, allocations: 0 / 415.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.2623, allocations: 34.56 kB / 416 MB, free: 10.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.011e-06/0.2624, allocations: 0 / 416 MB, free: 10.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008015/0.2632, allocations: 335.2 kB / 416.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.2632, allocations: 55.41 kB / 416.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.2634, allocations: 174.6 kB / 416.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2634, allocations: 37.7 kB / 416.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.639e-05/0.2635, allocations: 144.1 kB / 416.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.2635, allocations: 55.2 kB / 416.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.2636, allocations: 45.64 kB / 416.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.2637, allocations: 326.8 kB / 417.1 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.2639, allocations: 55.95 kB / 417.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.264, allocations: 99.83 kB / 417.3 MB, free: 9.273 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.2643, allocations: 143.2 kB / 417.4 MB, free: 9.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2643, allocations: 4 kB / 417.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004365/0.2648, allocations: 222 kB / 417.6 MB, free: 8.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2648, allocations: 4 kB / 417.6 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2648, allocations: 7.938 kB / 417.6 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.265, allocations: 32.95 kB / 417.7 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.2651, allocations: 35.98 kB / 417.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.2662, allocations: 1.473 MB / 419.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.2664, allocations: 31.77 kB / 419.2 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.2664, allocations: 8 kB / 419.2 MB, free: 7.148 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.0001037/0.2665, allocations: 133.7 kB / 419.3 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.2666, allocations: 15.81 kB / 419.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.2666, allocations: 29.92 kB / 419.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2666, allocations: 7.938 kB / 419.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.2667, allocations: 0 / 419.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2667, allocations: 3.938 kB / 419.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006854/0.2674, allocations: 0.5146 MB / 419.9 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2674, allocations: 0 / 419.9 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.2675, allocations: 23.98 kB / 419.9 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.2676, allocations: 32.84 kB / 420 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.2677, allocations: 11.98 kB / 420 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009847/0.2687, allocations: 1.461 MB / 421.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.2687, allocations: 3.938 kB / 421.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.2693, allocations: 355.3 kB / 421.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.2693, allocations: 104.9 kB / 421.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.2694, allocations: 4 kB / 421.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.2696, allocations: 23.97 kB / 421.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.2696, allocations: 11.98 kB / 421.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.2696, allocations: 8 kB / 421.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.864e-05/0.2697, allocations: 124.3 kB / 422.1 MB, free: 4.047 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.404e-06/0.2698, allocations: 8.062 kB / 422.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.2701, allocations: 67.72 kB / 422.1 MB, free: 3.973 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 9.687e-05/0.2702, allocations: 95.25 kB / 422.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004909/0.2707, allocations: 262.4 kB / 422.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2707, allocations: 4.25 kB / 422.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.2709, allocations: 194.6 kB / 422.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.2713, allocations: 31.92 kB / 422.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007298/0.272, allocations: 458.3 kB / 423.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.2723, allocations: 0.7359 MB / 423.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.895e-05/0.2723, allocations: 13.56 kB / 423.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.2724, allocations: 19.42 kB / 423.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2724, allocations: 0 / 423.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of Templates: time 0.005313/0.2777, allocations: 2.448 MB / 426.4 MB, free: 15.67 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches