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.001576/0.001576, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001948/0.001948, allocations: 209 kB / 24.48 MB, free: 3.938 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.595/1.595, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001633/0.001633, allocations: 47.92 kB / 378.9 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2339, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00406/0.238, allocations: 2.407 MB / 434.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.2394, allocations: 0.6507 MB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.2395, allocations: 7.938 kB / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.2397, allocations: 35.59 kB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.2399, allocations: 67.41 kB / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.2401, allocations: 63.84 kB / 435.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.2405, allocations: 266.8 kB / 435.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.2407, allocations: 76.72 kB / 435.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.2408, allocations: 91.72 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.241, allocations: 99.42 kB / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.241, allocations: 20 kB / 436.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.426e-05/0.2411, allocations: 31.98 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.2412, allocations: 51.83 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.2413, allocations: 95.59 kB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.2417, allocations: 261.8 kB / 436.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2417, allocations: 0 / 436.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2417, allocations: 0 / 436.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.2417, allocations: 0 / 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.001016/0.2427, allocations: 485.6 kB / 437 MB, free: 1.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2427, allocations: 12.03 kB / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.2428, allocations: 24.8 kB / 437 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.2432, allocations: 182.5 kB / 437.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.2432, allocations: 16.81 kB / 437.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.2433, allocations: 20.38 kB / 437.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.2438, allocations: 255.9 kB / 437.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.2438, allocations: 3.953 kB / 437.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.2438, allocations: 8 kB / 437.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2438, allocations: 4 kB / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.2442, allocations: 161.6 kB / 437.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.2455, allocations: 0.7007 MB / 438.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.2459, allocations: 138.6 kB / 438.5 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.2461, allocations: 72.81 kB / 438.6 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.2461, allocations: 0 / 438.6 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2462, allocations: 38.56 kB / 438.6 MB, free: 272 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.2462, allocations: 0 / 438.6 MB, free: 272 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008545/0.247, allocations: 256.9 kB / 438.9 MB, free: 8 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.2471, allocations: 59.34 kB / 438.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.2473, allocations: 167.2 kB / 439.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.2473, allocations: 25.7 kB / 439.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.2474, allocations: 160.2 kB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.2475, allocations: 59.55 kB / 439.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.2476, allocations: 45.7 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2477, allocations: 326.8 kB / 439.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.2479, allocations: 55.84 kB / 439.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.248, allocations: 89.94 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.2484, allocations: 144.2 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2484, allocations: 0 / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004943/0.2489, allocations: 212.7 kB / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.2489, allocations: 11.94 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2489, allocations: 0 / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.2491, allocations: 36.83 kB / 440.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.2492, allocations: 36.05 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.2506, allocations: 1.339 MB / 441.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.2508, allocations: 27.88 kB / 441.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.2508, 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.0001866/0.251, allocations: 141.8 kB / 441.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.251, allocations: 19.91 kB / 441.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.2511, allocations: 17.81 kB / 441.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2511, allocations: 4 kB / 441.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2511, allocations: 0 / 441.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2511, allocations: 0 / 441.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008865/0.252, allocations: 438.8 kB / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.252, allocations: 4 kB / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.2521, allocations: 39.91 kB / 442.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/0.2523, allocations: 24.84 kB / 442.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.2523, allocations: 7.938 kB / 442.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.2535, allocations: 1.335 MB / 443.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2535, allocations: 4.172 kB / 443.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006972/0.2542, allocations: 359.2 kB / 444 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.603e-05/0.2543, allocations: 23.86 kB / 444 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.2543, allocations: 11.98 kB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.2545, allocations: 19.92 kB / 444.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.2546, allocations: 19.91 kB / 444.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.2546, allocations: 4 kB / 444.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.2547, allocations: 116 kB / 444.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2547, allocations: 4 kB / 444.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.2551, allocations: 59.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.0001396/0.2552, allocations: 103.2 kB / 444.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005975/0.2558, allocations: 254.4 kB / 444.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2558, allocations: 256 / 444.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.2561, allocations: 182.7 kB / 444.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.2564, allocations: 34.33 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.0009267/0.2574, allocations: 496.9 kB / 445.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2575, allocations: 125.2 kB / 445.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.2576, allocations: 15.44 kB / 445.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2576, allocations: 0 / 445.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of Templates: time 0.005846/0.2634, allocations: 3.161 MB / 448.6 MB, free: 5.809 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 -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: 7.745558983646333]