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.002034/0.002034, allocations: 84.88 kB / 22 MB, free: 4.754 MB / 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.002667/0.002667, allocations: 153.8 kB / 25.24 MB, free: 2.746 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.475/1.475, allocations: 158.6 MB / 187 MB, free: 6.34 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: 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.002015/0.002015, allocations: 63.91 kB / 299.3 MB, free: 6.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2406, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004261/0.2448, allocations: 2.336 MB / 350.8 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.2461, allocations: 0.6201 MB / 351.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.2462, allocations: 4 kB / 351.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.2464, allocations: 43.58 kB / 351.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.2466, allocations: 63.41 kB / 351.6 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.2469, allocations: 67.84 kB / 351.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.2472, allocations: 266.8 kB / 351.9 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.2474, allocations: 71.94 kB / 352 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.2475, allocations: 103.6 kB / 352.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.2477, allocations: 91.55 kB / 352.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.2477, allocations: 20 kB / 352.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.2478, allocations: 27.94 kB / 352.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.781e-05/0.2479, allocations: 55.81 kB / 352.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.248, allocations: 95.59 kB / 352.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.2484, allocations: 257.5 kB / 352.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2484, allocations: 0 / 352.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2484, allocations: 0 / 352.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.2484, allocations: 4 kB / 352.6 MB, free: 11.43 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.00105/0.2495, allocations: 489.6 kB / 353.1 MB, free: 10.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2495, allocations: 11.98 kB / 353.1 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.2496, allocations: 32.75 kB / 353.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.25, allocations: 186.5 kB / 353.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.25, allocations: 12.88 kB / 353.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.25, allocations: 20.38 kB / 353.3 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.2505, allocations: 256.8 kB / 353.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.2506, allocations: 0 / 353.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.2506, allocations: 12 kB / 353.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2506, allocations: 11.94 kB / 353.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.251, allocations: 161.8 kB / 353.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.2523, allocations: 0.6897 MB / 354.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.2527, allocations: 150.5 kB / 354.6 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.2529, allocations: 72.81 kB / 354.7 MB, free: 9.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.2529, allocations: 0 / 354.7 MB, free: 9.219 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.253, allocations: 34.56 kB / 354.7 MB, free: 9.176 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.021e-06/0.253, allocations: 0 / 354.7 MB, free: 9.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008804/0.2539, allocations: 258.1 kB / 355 MB, free: 8.914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.2539, allocations: 59.41 kB / 355 MB, free: 8.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.2541, allocations: 155.3 kB / 355.2 MB, free: 8.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.2541, allocations: 33.7 kB / 355.2 MB, free: 8.645 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.2542, allocations: 148.3 kB / 355.3 MB, free: 8.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.2543, allocations: 63.55 kB / 355.4 MB, free: 8.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/0.2544, allocations: 41.72 kB / 355.4 MB, free: 8.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2545, allocations: 318.8 kB / 355.8 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.2547, allocations: 63.89 kB / 355.8 MB, free: 8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.2549, allocations: 84.2 kB / 355.9 MB, free: 7.902 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.2552, allocations: 152.1 kB / 356.1 MB, free: 7.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2552, allocations: 0 / 356.1 MB, free: 7.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000498/0.2557, allocations: 218.1 kB / 356.3 MB, free: 7.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2557, allocations: 11.94 kB / 356.3 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2557, allocations: 0 / 356.3 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.2559, allocations: 32.95 kB / 356.3 MB, free: 7.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.2561, allocations: 39.92 kB / 356.3 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.2574, allocations: 1.339 MB / 357.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.2576, allocations: 23.88 kB / 357.7 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.2576, allocations: 11.94 kB / 357.7 MB, free: 5.949 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.0001398/0.2577, allocations: 137.8 kB / 357.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.2578, allocations: 15.91 kB / 357.9 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.2578, allocations: 25.8 kB / 357.9 MB, free: 5.762 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2578, allocations: 0 / 357.9 MB, free: 5.762 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2578, allocations: 4 kB / 357.9 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2578, allocations: 0 / 357.9 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007178/0.2585, allocations: 442.7 kB / 358.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2585, allocations: 0 / 358.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.2587, allocations: 35.92 kB / 358.4 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/0.2588, allocations: 36.95 kB / 358.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.2588, allocations: 3.938 kB / 358.4 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.26, allocations: 1.327 MB / 359.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.26, allocations: 3.984 kB / 359.7 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.2606, allocations: 364.8 kB / 360.1 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.2607, allocations: 23.86 kB / 360.1 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.2607, allocations: 8 kB / 360.1 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.2609, allocations: 19.97 kB / 360.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.261, allocations: 19.91 kB / 360.2 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.261, allocations: 8 kB / 360.2 MB, free: 3.324 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.2611, allocations: 116 kB / 360.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2611, allocations: 0 / 360.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003233/0.2614, allocations: 67.84 kB / 360.4 MB, free: 3.145 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 0.0001071/0.2615, allocations: 91.62 kB / 360.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000547/0.2621, allocations: 254.5 kB / 360.7 MB, free: 2.785 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2621, allocations: 256 / 360.7 MB, free: 2.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.2624, allocations: 190.6 kB / 360.9 MB, free: 2.586 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.2627, allocations: 28.12 kB / 360.9 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008314/0.2635, allocations: 463.1 kB / 361.4 MB, free: 2.074 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.2636, allocations: 129.2 kB / 361.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.569e-05/0.2637, allocations: 9.484 kB / 361.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.2637, allocations: 24.42 kB / 361.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2637, allocations: 0 / 361.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of Templates: time 0.006272/0.27, allocations: 2.366 MB / 363.9 MB, free: 15.52 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 -s ida -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: 4.630882640951313]