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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 107.1 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002638/0.002638, allocations: 189.1 kB / 22.93 MB, free: 5.582 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.513/1.513, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 55.92 kB / 345.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3545, allocations: 49.13 MB / 394.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003891/0.3584, allocations: 2.49 MB / 397 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3596, allocations: 0.6605 MB / 397.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.3598, allocations: 7.375 kB / 397.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.3599, allocations: 37.84 kB / 397.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.3601, allocations: 60.72 kB / 397.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.3604, allocations: 69.5 kB / 397.8 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.3606, allocations: 266.6 kB / 398.1 MB, free: 7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.3608, allocations: 81.16 kB / 398.2 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.361, allocations: 99.62 kB / 398.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.3611, allocations: 109.3 kB / 398.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.3612, allocations: 20.88 kB / 398.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.749e-05/0.3613, allocations: 28.03 kB / 398.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.3613, allocations: 51.98 kB / 398.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.3614, allocations: 119.1 kB / 398.6 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004073/0.3618, allocations: 248.2 kB / 398.8 MB, free: 6.656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3618, allocations: 5.062 kB / 398.8 MB, free: 6.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3618, allocations: 0 / 398.8 MB, free: 6.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3618, allocations: 4 kB / 398.8 MB, free: 6.648 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.0009796/0.3628, allocations: 0.5481 MB / 399.4 MB, free: 6.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.3629, allocations: 13.55 kB / 399.4 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.363, allocations: 31.61 kB / 399.4 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.3633, allocations: 240.9 kB / 399.7 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3633, allocations: 12.47 kB / 399.7 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.3634, allocations: 22.06 kB / 399.7 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.3638, allocations: 232.6 kB / 399.9 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.3638, allocations: 1.031 kB / 399.9 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.3638, allocations: 14.03 kB / 399.9 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.3639, allocations: 5.891 kB / 399.9 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.3643, allocations: 158 kB / 400.1 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.3656, allocations: 0.811 MB / 400.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.366, allocations: 151.5 kB / 401.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.3662, allocations: 75.47 kB / 401.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.3662, allocations: 1.344 kB / 401.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.3662, allocations: 32.3 kB / 401.2 MB, free: 4.992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.3662, allocations: 0 / 401.2 MB, free: 4.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008309/0.367, allocations: 342.2 kB / 401.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.367, allocations: 52.75 kB / 401.6 MB, free: 4.723 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3672, allocations: 181.2 kB / 401.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.3672, allocations: 31.02 kB / 401.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.3673, allocations: 146.8 kB / 401.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.3673, allocations: 58.72 kB / 402 MB, free: 4.379 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.3674, allocations: 39.38 kB / 402 MB, free: 4.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.3674, allocations: 331.4 kB / 402.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.3676, allocations: 56.31 kB / 402.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.3678, allocations: 89.64 kB / 402.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.368, allocations: 143.8 kB / 402.6 MB, free: 3.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.368, allocations: 1.062 kB / 402.6 MB, free: 3.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004584/0.3685, allocations: 224.3 kB / 402.8 MB, free: 3.754 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3685, allocations: 5.719 kB / 402.8 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3685, allocations: 5.109 kB / 402.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.3687, allocations: 33.95 kB / 402.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.3689, allocations: 34.53 kB / 402.9 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.37, allocations: 1.483 MB / 404.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.3702, allocations: 32.25 kB / 404.4 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.3702, allocations: 10.28 kB / 404.4 MB, free: 2.242 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 0.0001619/0.3703, allocations: 131.7 kB / 404.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.3704, allocations: 15.34 kB / 404.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.445e-05/0.3705, allocations: 24.38 kB / 404.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3705, allocations: 5.844 kB / 404.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3705, allocations: 1.531 kB / 404.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.3705, allocations: 9.469 kB / 404.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008319/0.3713, allocations: 0.5103 MB / 405.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3713, allocations: 0 / 405.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.3715, allocations: 30.62 kB / 405.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/0.3716, allocations: 40 kB / 405.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3716, allocations: 1.281 kB / 405.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.3727, allocations: 1.469 MB / 406.7 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3727, allocations: 3.938 kB / 406.7 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.3734, allocations: 347.8 kB / 407 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.3735, allocations: 104.2 kB / 407.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.3736, allocations: 6.047 kB / 407.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.3738, allocations: 21.02 kB / 407.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.3739, allocations: 18.11 kB / 407.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.3739, allocations: 7.359 kB / 407.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.3741, allocations: 130 kB / 407.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3741, allocations: 0 / 407.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004277/0.3745, allocations: 61.73 kB / 407.3 MB, free: 15.73 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 0.0001729/0.3747, allocations: 97.88 kB / 407.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006752/0.3753, allocations: 266.8 kB / 407.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3753, allocations: 1.188 kB / 407.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.3757, allocations: 184.5 kB / 407.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.376, allocations: 28.11 kB / 407.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.377, allocations: 468.7 kB / 408.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.3775, allocations: 0.7387 MB / 409.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.466e-05/0.3776, allocations: 16.66 kB / 409.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.3776, allocations: 19.78 kB / 409.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3776, allocations: 0 / 409.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of Templates: time 0.008305/0.3859, allocations: 2.535 MB / 411.7 MB, free: 13.66 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/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: 5.056486398912966]