Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.001684/0.001684, allocations: 89.02 kB / 21.44 MB, free: 276 kB / 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.00152/0.00152, allocations: 160.9 kB / 24.7 MB, free: 3.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 3.938 kB / 298.9 MB, free: 8.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.337e-05/3.525e-05, allocations: 2.281 kB / 298.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004333/0.004368, allocations: 2.346 MB / 301.3 MB, free: 6.379 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.005953, allocations: 0.6164 MB / 301.9 MB, free: 5.754 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.006128, allocations: 4 kB / 301.9 MB, free: 5.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.006313, allocations: 35.64 kB / 301.9 MB, free: 5.715 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.006495, allocations: 79.28 kB / 302 MB, free: 5.637 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.006833, allocations: 67.78 kB / 302.1 MB, free: 5.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.007215, allocations: 274.6 kB / 302.3 MB, free: 5.301 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.00743, allocations: 67.95 kB / 302.4 MB, free: 5.238 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.007669, allocations: 147.7 kB / 302.6 MB, free: 5.094 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.007839, allocations: 79.78 kB / 302.6 MB, free: 5.016 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.007884, allocations: 20 kB / 302.6 MB, free: 4.996 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.55e-05/0.007979, allocations: 28 kB / 302.7 MB, free: 4.969 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.008047, allocations: 55.7 kB / 302.7 MB, free: 4.914 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.008181, allocations: 87.81 kB / 302.8 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.008602, allocations: 267 kB / 303.1 MB, free: 4.566 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.008608, allocations: 0 / 303.1 MB, free: 4.566 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.008609, allocations: 0 / 303.1 MB, free: 4.566 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.008615, allocations: 0 / 303.1 MB, free: 4.566 MB / 286.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.001147/0.009763, allocations: 485.6 kB / 303.6 MB, free: 4.062 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.009809, allocations: 15.98 kB / 303.6 MB, free: 4.047 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.009934, allocations: 24.8 kB / 303.6 MB, free: 4.023 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.01031, allocations: 177.8 kB / 303.8 MB, free: 3.824 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.01033, allocations: 20.88 kB / 303.8 MB, free: 3.805 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.01037, allocations: 24.38 kB / 303.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005069/0.01088, allocations: 257 kB / 304.1 MB, free: 3.512 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.0109, allocations: 192 / 304.1 MB, free: 3.512 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.01092, allocations: 8.375 kB / 304.1 MB, free: 3.504 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.01093, allocations: 11.94 kB / 304.1 MB, free: 3.492 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.01134, allocations: 149.9 kB / 304.2 MB, free: 3.344 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.0127, allocations: 0.6897 MB / 304.9 MB, free: 2.609 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/0.01314, allocations: 146.6 kB / 305.1 MB, free: 2.457 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.01334, allocations: 76.81 kB / 305.1 MB, free: 2.379 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.01336, allocations: 0 / 305.1 MB, free: 2.379 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.0134, allocations: 42.5 kB / 305.2 MB, free: 2.328 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.0134, allocations: 0 / 305.2 MB, free: 2.328 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009308/0.01433, allocations: 262.1 kB / 305.4 MB, free: 2.062 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.01439, allocations: 59.34 kB / 305.5 MB, free: 1.992 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.01455, allocations: 155.3 kB / 305.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.01458, allocations: 29.7 kB / 305.7 MB, free: 1.797 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.0147, allocations: 156.3 kB / 305.8 MB, free: 1.641 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.01476, allocations: 59.48 kB / 305.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.01483, allocations: 33.72 kB / 305.9 MB, free: 1.543 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.01503, allocations: 330.8 kB / 306.2 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.0152, allocations: 47.97 kB / 306.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.0154, allocations: 104.2 kB / 306.4 MB, free: 1.047 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.01574, allocations: 132.2 kB / 306.5 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.01575, allocations: 7.938 kB / 306.5 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005522/0.0163, allocations: 218.2 kB / 306.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.01632, allocations: 7.938 kB / 306.7 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.01633, allocations: 4 kB / 306.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002336/0.01656, allocations: 40.81 kB / 306.8 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.01673, allocations: 35.86 kB / 306.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.01818, allocations: 1.335 MB / 308.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.01838, allocations: 27.91 kB / 308.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.0184, allocations: 8 kB / 308.2 MB, free: 15.1 MB / 302.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.0001475/0.01855, allocations: 129.8 kB / 308.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.0186, allocations: 19.84 kB / 308.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.01865, allocations: 25.8 kB / 308.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01865, allocations: 64 / 308.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01865, allocations: 4 kB / 308.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.01866, allocations: 4 kB / 308.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008324/0.01949, allocations: 442.7 kB / 308.8 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01949, allocations: 0 / 308.8 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.01967, allocations: 23.98 kB / 308.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/0.01981, allocations: 36.83 kB / 308.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.01982, allocations: 0 / 308.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.02115, allocations: 1.343 MB / 310.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.02115, allocations: 0 / 310.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007021/0.02185, allocations: 351.2 kB / 310.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.02192, allocations: 23.92 kB / 310.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.02194, allocations: 0 / 310.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.02215, allocations: 28.09 kB / 310.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.282e-05/0.02223, allocations: 23.91 kB / 310.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.02224, allocations: 0 / 310.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.02235, allocations: 124.9 kB / 310.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02235, allocations: 0 / 310.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000351/0.0227, allocations: 67.78 kB / 310.8 MB, free: 12.32 MB / 302.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.00015/0.02285, allocations: 107.1 kB / 310.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005928/0.02344, allocations: 246.5 kB / 311.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.02344, allocations: 0 / 311.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.02377, allocations: 186.6 kB / 311.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.02413, allocations: 36.09 kB / 311.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000889/0.02502, allocations: 418.2 kB / 311.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.02515, allocations: 129.2 kB / 311.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.784e-05/0.02523, allocations: 13.48 kB / 311.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.02528, allocations: 16.5 kB / 311.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.02528, allocations: 0 / 311.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of Templates: time 0.006643/0.03192, allocations: 2.374 MB / 314.3 MB, free: 8.738 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.598519630730152]