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.0009399/0.0009399, allocations: 91.61 kB / 22.19 MB, free: 2.359 MB / 18.57 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.0009268/0.0009268, allocations: 167.3 kB / 25.45 MB, free: 9.355 MB / 18.57 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 0.8904/0.8904, allocations: 158.6 MB / 187.2 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.263e-06/1.263e-06, allocations: 0 / 299.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.622e-05, allocations: 2.281 kB / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002233/0.002249, allocations: 2.338 MB / 302 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007678/0.003017, allocations: 0.6242 MB / 302.6 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.093e-05/0.003108, allocations: 4 kB / 302.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.003209, allocations: 39.64 kB / 302.7 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.208e-05/0.003301, allocations: 67.3 kB / 302.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.003511, allocations: 67.83 kB / 302.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.003726, allocations: 274.6 kB / 303.1 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.003876, allocations: 79.88 kB / 303.2 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.003996, allocations: 147.7 kB / 303.3 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.57e-05/0.004092, allocations: 75.78 kB / 303.4 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.004115, allocations: 24 kB / 303.4 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.647e-05/0.004172, allocations: 27.94 kB / 303.4 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.004203, allocations: 47.83 kB / 303.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.004262, allocations: 83.81 kB / 303.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.004514, allocations: 267.1 kB / 303.8 MB, free: 2.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.004516, allocations: 3.938 kB / 303.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004516, allocations: 0 / 303.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.004521, allocations: 0 / 303.8 MB, free: 2.766 MB / 282.7 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.0005792/0.0051, allocations: 481.6 kB / 304.3 MB, free: 2.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.005132, allocations: 15.98 kB / 304.3 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.18e-05/0.005214, allocations: 28.78 kB / 304.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.005419, allocations: 181.9 kB / 304.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.005433, allocations: 16.88 kB / 304.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.005459, allocations: 16.38 kB / 304.5 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.005749, allocations: 253 kB / 304.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.00576, allocations: 4.125 kB / 304.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.005779, allocations: 16.36 kB / 304.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.005786, allocations: 7.938 kB / 304.8 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.006002, allocations: 157.9 kB / 305 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007524/0.006754, allocations: 0.6935 MB / 305.7 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.007017, allocations: 146.6 kB / 305.8 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.62e-05/0.007113, allocations: 72.81 kB / 305.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.007125, allocations: 0 / 305.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.007143, allocations: 38.5 kB / 305.9 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.007144, allocations: 0 / 305.9 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004877/0.007632, allocations: 258.2 kB / 306.2 MB, free: 272 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.007659, allocations: 55.41 kB / 306.2 MB, free: 204 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.373e-05/0.007753, allocations: 155.2 kB / 306.4 MB, free: 40 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.007769, allocations: 33.7 kB / 306.4 MB, free: 0 / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.007844, allocations: 148.4 kB / 306.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.007877, allocations: 63.53 kB / 306.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.007919, allocations: 41.72 kB / 306.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.007995, allocations: 318.8 kB / 307 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.177e-05/0.008077, allocations: 59.95 kB / 307 MB, free: 15.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.292e-05/0.00817, allocations: 92.2 kB / 307.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.008341, allocations: 150.8 kB / 307.3 MB, free: 15.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008343, allocations: 0 / 307.3 MB, free: 15.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002566/0.0086, allocations: 214.2 kB / 307.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.008612, allocations: 8 kB / 307.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.008617, allocations: 0 / 307.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.008761, allocations: 36.83 kB / 307.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.28e-05/0.008843, allocations: 43.97 kB / 307.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008039/0.009647, allocations: 1.339 MB / 308.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.54e-05/0.009723, allocations: 27.88 kB / 308.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.009732, allocations: 8 kB / 308.9 MB, free: 13.3 MB / 298.7 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.757e-05/0.009819, allocations: 133.8 kB / 309.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.009841, allocations: 19.84 kB / 309.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.009864, allocations: 25.73 kB / 309.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.61e-07/0.009865, allocations: 0 / 309.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.009867, allocations: 4 kB / 309.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.009869, allocations: 0 / 309.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.0103, allocations: 442.8 kB / 309.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.0103, allocations: 0 / 309.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.583e-05/0.01038, allocations: 31.98 kB / 309.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.011e-05/0.01045, allocations: 28.83 kB / 309.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.01046, allocations: 4.141 kB / 309.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006787/0.01114, allocations: 1.339 MB / 311 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01114, allocations: 0 / 311 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.01149, allocations: 356.1 kB / 311.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.01153, allocations: 19.92 kB / 311.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.01154, allocations: 4 kB / 311.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.01163, allocations: 23.97 kB / 311.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.01167, allocations: 15.97 kB / 311.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.01168, allocations: 8 kB / 311.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.092e-05/0.01174, allocations: 116.9 kB / 311.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01174, allocations: 4.062 kB / 311.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001964/0.01194, allocations: 71.78 kB / 311.6 MB, free: 10.52 MB / 298.7 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 7.599e-05/0.01202, allocations: 99.19 kB / 311.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.01234, allocations: 247.5 kB / 311.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01234, allocations: 0 / 311.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.01247, allocations: 194.8 kB / 312.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.01266, allocations: 27.97 kB / 312.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.01318, allocations: 453 kB / 312.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.625e-05/0.01325, allocations: 125.2 kB / 312.7 MB, free: 9.305 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.01329, allocations: 20.5 kB / 312.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01329, allocations: 0 / 312.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of Templates: time 0.003176/0.01646, allocations: 3.175 MB / 315.9 MB, free: 6.105 MB / 298.7 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.546417914330959]