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.002008/0.002008, allocations: 120.2 kB / 21.94 MB, free: 8 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.002749/0.002749, allocations: 202.7 kB / 25.23 MB, free: 3.551 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.425/1.425, allocations: 207.6 MB / 236 MB, free: 9.996 MB / 190.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 55.92 kB / 348.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2516, allocations: 49.16 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003695/0.2553, allocations: 2.484 MB / 400.1 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2564, allocations: 0.6642 MB / 400.7 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.2565, allocations: 3.844 kB / 400.7 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.2566, allocations: 34.56 kB / 400.8 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.2568, allocations: 69 kB / 400.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.257, allocations: 60.92 kB / 400.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.2573, allocations: 261.4 kB / 401.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.2575, allocations: 89.53 kB / 401.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.2576, allocations: 101.5 kB / 401.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.2578, allocations: 113.9 kB / 401.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.2578, allocations: 20.59 kB / 401.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.507e-05/0.2579, allocations: 24.38 kB / 401.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.2579, allocations: 47 kB / 401.6 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.258, allocations: 115 kB / 401.7 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.2584, allocations: 260.6 kB / 401.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2584, allocations: 1.344 kB / 401.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2584, allocations: 0 / 401.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.2584, allocations: 3.938 kB / 401.9 MB, free: 6.715 MB / 318.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.0009128/0.2593, allocations: 488.7 kB / 402.4 MB, free: 6.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2594, allocations: 13.02 kB / 402.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.2595, allocations: 31.64 kB / 402.4 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.2598, allocations: 182.2 kB / 402.6 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.2598, allocations: 13.47 kB / 402.6 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.2598, allocations: 22.34 kB / 402.7 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004243/0.2603, allocations: 235.9 kB / 402.9 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.2603, allocations: 4 kB / 402.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.2603, allocations: 10.97 kB / 402.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.2603, allocations: 4.469 kB / 402.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.2607, allocations: 159.6 kB / 403.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.2618, allocations: 0.7773 MB / 403.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.2622, allocations: 145.7 kB / 404 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.2623, allocations: 75.97 kB / 404.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.2624, allocations: 1.062 kB / 404.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.2624, allocations: 40.72 kB / 404.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.2624, allocations: 0 / 404.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007671/0.2631, allocations: 255.6 kB / 404.3 MB, free: 5.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/0.2632, allocations: 53.5 kB / 404.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2633, allocations: 181.1 kB / 404.6 MB, free: 4.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2633, allocations: 30.73 kB / 404.6 MB, free: 4.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.2634, allocations: 148 kB / 404.7 MB, free: 4.773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.2634, allocations: 64.53 kB / 404.8 MB, free: 4.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.2634, allocations: 38.09 kB / 404.8 MB, free: 4.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.769e-05/0.2635, allocations: 330.2 kB / 405.2 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.2636, allocations: 51.91 kB / 405.2 MB, free: 4.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.2638, allocations: 86.69 kB / 405.3 MB, free: 4.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.264, allocations: 151.8 kB / 405.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.264, allocations: 0 / 405.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004151/0.2645, allocations: 222.9 kB / 405.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2645, allocations: 5.812 kB / 405.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2645, allocations: 1.797 kB / 405.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.2647, allocations: 29.78 kB / 405.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.2648, allocations: 39.64 kB / 405.7 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008556/0.2657, allocations: 1.36 MB / 407.1 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.2658, allocations: 42.39 kB / 407.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.2658, allocations: 4.438 kB / 407.2 MB, free: 2.73 MB / 318.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 8.742e-05/0.2659, allocations: 136.8 kB / 407.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.266, allocations: 15.52 kB / 407.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.266, allocations: 23.14 kB / 407.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.266, allocations: 1.844 kB / 407.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.266, allocations: 2.391 kB / 407.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.266, allocations: 8.734 kB / 407.3 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006466/0.2667, allocations: 0.4951 MB / 407.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2667, allocations: 0 / 407.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.2668, allocations: 25.5 kB / 407.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.2669, allocations: 31.91 kB / 407.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.2669, allocations: 9.094 kB / 407.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000753/0.2677, allocations: 1.356 MB / 409.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2677, allocations: 3.938 kB / 409.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.2682, allocations: 354.9 kB / 409.6 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.2683, allocations: 27.22 kB / 409.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.2683, allocations: 5.188 kB / 409.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.2685, allocations: 26.05 kB / 409.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.2685, allocations: 15.78 kB / 409.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.2685, allocations: 6.75 kB / 409.7 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.298e-05/0.2686, allocations: 124.7 kB / 409.8 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2686, allocations: 0 / 409.8 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000315/0.2689, allocations: 61.27 kB / 409.9 MB, free: 0.4961 MB / 318.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.39e-05/0.269, allocations: 101.7 kB / 410 MB, free: 412 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004882/0.2695, allocations: 261.9 kB / 410.2 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2695, allocations: 1.375 kB / 410.2 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.2697, allocations: 188 kB / 410.4 MB, free: 104 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.2701, allocations: 40.27 kB / 410.4 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009113/0.271, allocations: 491.2 kB / 410.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.2714, allocations: 0.7354 MB / 411.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.2714, allocations: 15.94 kB / 411.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2714, allocations: 1.406 kB / 411.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of Templates: time 0.006045/0.2775, allocations: 3.167 MB / 414.8 MB, free: 13.83 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/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: 7.574207253055647]