Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001248/0.001248, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001551/0.001551, allocations: 210.9 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 51.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2436, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00378/0.2473, allocations: 2.392 MB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.2485, allocations: 0.6546 MB / 435.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2486, allocations: 7.938 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.2487, allocations: 31.64 kB / 435.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.2488, allocations: 71.34 kB / 435.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.2491, allocations: 63.86 kB / 435.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.2494, allocations: 266.8 kB / 435.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.2496, allocations: 76.73 kB / 435.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.2497, allocations: 95.7 kB / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.2499, allocations: 115.5 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.2499, allocations: 24 kB / 436.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.25, allocations: 24 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.25, allocations: 51.78 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.2501, allocations: 99.58 kB / 436.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.2505, allocations: 253.8 kB / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2505, allocations: 0 / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2505, allocations: 0 / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.2505, allocations: 3.938 kB / 436.5 MB, free: 2.496 MB / 334.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.0009837/0.2515, allocations: 485.5 kB / 437 MB, free: 1.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.2515, allocations: 12.03 kB / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.2516, allocations: 32.8 kB / 437 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.2519, allocations: 174.6 kB / 437.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.2519, allocations: 16.81 kB / 437.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.252, allocations: 20.38 kB / 437.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/0.2525, allocations: 255.9 kB / 437.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.2525, allocations: 3.953 kB / 437.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.2525, allocations: 11.94 kB / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.2525, allocations: 4 kB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/0.2529, allocations: 157.7 kB / 437.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.2542, allocations: 0.6968 MB / 438.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.2546, allocations: 146.6 kB / 438.5 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.2548, allocations: 68.83 kB / 438.6 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.2548, allocations: 7.984 kB / 438.6 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.2548, allocations: 34.56 kB / 438.6 MB, free: 268 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.2548, allocations: 0 / 438.6 MB, free: 268 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008576/0.2557, allocations: 264.8 kB / 438.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.2557, allocations: 51.41 kB / 438.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.2559, allocations: 167.2 kB / 439.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.2559, allocations: 29.64 kB / 439.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.256, allocations: 156.4 kB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.2561, allocations: 63.48 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.896e-05/0.2561, allocations: 37.7 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2563, allocations: 322.8 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.2564, allocations: 55.91 kB / 439.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.2566, allocations: 96.25 kB / 439.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.2569, allocations: 140.2 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2569, allocations: 0 / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005118/0.2574, allocations: 220.5 kB / 440.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2575, allocations: 7.938 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2575, allocations: 0 / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.2577, allocations: 36.91 kB / 440.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.2578, allocations: 43.91 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.2591, allocations: 1.327 MB / 441.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.2593, allocations: 31.89 kB / 441.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.2593, allocations: 8 kB / 441.6 MB, free: 13.04 MB / 350.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.0001362/0.2595, allocations: 137.8 kB / 441.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.2595, allocations: 19.84 kB / 441.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.2595, allocations: 25.8 kB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2596, allocations: 0 / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.2596, allocations: 0 / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2596, allocations: 0 / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007502/0.2603, allocations: 442.8 kB / 442.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2603, allocations: 0 / 442.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.2605, allocations: 27.98 kB / 442.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/0.2606, allocations: 36.83 kB / 442.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.2606, allocations: 7.938 kB / 442.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.2618, allocations: 1.335 MB / 443.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2618, allocations: 0 / 443.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/0.2625, allocations: 359.1 kB / 444 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.2626, allocations: 28 kB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.2626, allocations: 0 / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.2628, allocations: 23.97 kB / 444.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.2629, allocations: 27.89 kB / 444.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.2629, allocations: 0 / 444.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.263, allocations: 120 kB / 444.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.263, allocations: 4.062 kB / 444.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000321/0.2633, allocations: 55.89 kB / 444.3 MB, free: 10.24 MB / 350.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.0001147/0.2634, allocations: 107.1 kB / 444.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005612/0.264, allocations: 254.5 kB / 444.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.264, allocations: 256 / 444.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.2643, allocations: 186.6 kB / 444.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.2646, allocations: 26.56 kB / 444.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008563/0.2655, allocations: 466.9 kB / 445.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.2656, allocations: 129.2 kB / 445.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.792e-05/0.2657, allocations: 9.375 kB / 445.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.2657, allocations: 15.44 kB / 445.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2657, allocations: 4 kB / 445.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of Templates: time 0.006467/0.2722, allocations: 2.653 MB / 448.1 MB, free: 6.383 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.3295150750054745]