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.001939/0.001939, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001961/0.001961, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.386/1.386, allocations: 230.6 MB / 258.3 MB, free: 8.234 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.00161/0.00161, allocations: 47.92 kB / 379 MB, free: 2.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.227, allocations: 53.37 MB / 432.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004136/0.2311, allocations: 2.54 MB / 434.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2324, allocations: 0.6895 MB / 435.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.2326, allocations: 7.938 kB / 435.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.2328, allocations: 35.66 kB / 435.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.233, allocations: 67.39 kB / 435.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.2332, allocations: 67.86 kB / 435.8 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000366/0.2336, allocations: 262.8 kB / 436 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.2338, allocations: 72.75 kB / 436.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.2339, allocations: 99.69 kB / 436.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.2341, allocations: 119.4 kB / 436.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.2342, allocations: 23.94 kB / 436.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.335e-05/0.2343, allocations: 24 kB / 436.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.2343, allocations: 47.83 kB / 436.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.2344, allocations: 115.5 kB / 436.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.2348, allocations: 264.2 kB / 436.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2348, allocations: 0 / 436.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2348, allocations: 0 / 436.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2348, allocations: 0 / 436.8 MB, free: 2.531 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.0009704/0.2358, allocations: 489.6 kB / 437.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2358, allocations: 8.031 kB / 437.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.2359, allocations: 32.72 kB / 437.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.2363, allocations: 168.2 kB / 437.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.2363, allocations: 20.81 kB / 437.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.2363, allocations: 20.38 kB / 437.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.2368, allocations: 234.2 kB / 437.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.2368, allocations: 0 / 437.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.2368, allocations: 8 kB / 437.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.2368, allocations: 8 kB / 437.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/0.2372, allocations: 165.6 kB / 437.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.2386, allocations: 0.7781 MB / 438.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.2389, allocations: 150.7 kB / 438.8 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.2391, allocations: 68.83 kB / 438.9 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.2391, allocations: 4 kB / 438.9 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.2391, allocations: 34.56 kB / 439 MB, free: 232 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.2391, allocations: 4 kB / 439 MB, free: 228 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008171/0.24, allocations: 258.1 kB / 439.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.24, allocations: 59.39 kB / 439.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.2402, allocations: 176.1 kB / 439.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.2402, allocations: 29.7 kB / 439.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.2403, allocations: 156.2 kB / 439.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.2404, allocations: 55.53 kB / 439.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.297e-05/0.2404, allocations: 41.66 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2406, allocations: 330.8 kB / 440 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.2407, allocations: 55.97 kB / 440.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.2409, allocations: 90.31 kB / 440.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.2412, allocations: 147 kB / 440.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2412, allocations: 3.938 kB / 440.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004716/0.2417, allocations: 214.1 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2417, allocations: 4 kB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2417, allocations: 4 kB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.2419, allocations: 36.95 kB / 440.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.242, allocations: 35.92 kB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.2433, allocations: 1.366 MB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.2434, allocations: 31.81 kB / 442 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.2435, allocations: 4 kB / 442 MB, free: 12.95 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.0001243/0.2436, allocations: 129.8 kB / 442.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.2436, allocations: 24.09 kB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.2437, allocations: 21.8 kB / 442.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2437, allocations: 4 kB / 442.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2437, allocations: 3.938 kB / 442.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.2437, allocations: 3.938 kB / 442.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007605/0.2445, allocations: 0.4943 MB / 442.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2445, allocations: 0 / 442.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.2446, allocations: 31.92 kB / 442.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.2447, allocations: 36.83 kB / 442.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2447, allocations: 0 / 442.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.2459, allocations: 1.358 MB / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2459, allocations: 3.938 kB / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.2465, allocations: 352.2 kB / 444.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.2466, allocations: 27.86 kB / 444.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.2466, allocations: 4 kB / 444.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.2468, allocations: 19.97 kB / 444.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.2468, allocations: 19.97 kB / 444.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.2468, allocations: 4 kB / 444.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.247, allocations: 135.5 kB / 444.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.247, allocations: 0 / 444.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.2473, allocations: 59.89 kB / 444.7 MB, free: 10.03 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.0001095/0.2474, allocations: 107.4 kB / 444.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005406/0.2479, allocations: 265 kB / 445.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2479, allocations: 0 / 445.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000275/0.2482, allocations: 186.6 kB / 445.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.2485, allocations: 39.84 kB / 445.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008668/0.2494, allocations: 493 kB / 445.8 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.2497, allocations: 0.7359 MB / 446.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.2498, allocations: 15.44 kB / 446.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2498, allocations: 3.938 kB / 446.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of Templates: time 0.00555/0.2553, allocations: 3.171 MB / 449.7 MB, free: 4.953 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.067394695011899]