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.001869/0.001869, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002295/0.002295, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.572/1.572, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.001545/0.001545, allocations: 51.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2174, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003798/0.2212, allocations: 2.408 MB / 434.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2223, allocations: 0.6545 MB / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.2224, allocations: 0 / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.2226, allocations: 35.64 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.2227, allocations: 67.36 kB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.223, allocations: 71.84 kB / 435.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.2233, allocations: 262.8 kB / 435.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.2235, allocations: 72.73 kB / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.2236, allocations: 103.6 kB / 436 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.2237, allocations: 107.5 kB / 436.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.2238, allocations: 24 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.2239, allocations: 24 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.2239, allocations: 55.83 kB / 436.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.224, allocations: 103.5 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.2244, allocations: 257.8 kB / 436.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2244, allocations: 0 / 436.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2244, allocations: 0 / 436.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.2244, allocations: 0 / 436.5 MB, free: 2.504 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.001002/0.2254, allocations: 485.6 kB / 437 MB, free: 2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2254, allocations: 8.031 kB / 437 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.2255, allocations: 28.8 kB / 437.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.2258, allocations: 174.6 kB / 437.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.2259, allocations: 20.81 kB / 437.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.2259, allocations: 16.38 kB / 437.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.2264, allocations: 263.8 kB / 437.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2264, allocations: 3.953 kB / 437.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.2264, allocations: 8 kB / 437.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.2264, allocations: 4 kB / 437.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.2268, allocations: 157.6 kB / 437.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.2281, allocations: 0.6968 MB / 438.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.2285, allocations: 146.6 kB / 438.5 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.2287, allocations: 76.77 kB / 438.6 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2287, allocations: 7.938 kB / 438.6 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.2287, allocations: 38.55 kB / 438.6 MB, free: 268 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.2287, allocations: 0 / 438.6 MB, free: 268 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008569/0.2296, allocations: 254.2 kB / 438.9 MB, free: 4 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.2296, allocations: 55.41 kB / 439 MB, free: 15.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.2298, allocations: 167.2 kB / 439.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2298, allocations: 25.7 kB / 439.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.2299, allocations: 152.3 kB / 439.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.23, allocations: 59.55 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.23, allocations: 41.7 kB / 439.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2302, allocations: 326.8 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.2303, allocations: 51.91 kB / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.2305, allocations: 96.25 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.2308, allocations: 136.2 kB / 440 MB, free: 14.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2308, allocations: 4 kB / 440 MB, free: 14.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004963/0.2313, allocations: 221 kB / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2314, allocations: 8 kB / 440.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2314, allocations: 3.938 kB / 440.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.2316, allocations: 36.78 kB / 440.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.2317, allocations: 31.97 kB / 440.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.233, allocations: 1.339 MB / 441.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.2332, allocations: 31.86 kB / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.2332, allocations: 4 kB / 441.7 MB, free: 13.05 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.0001367/0.2334, allocations: 137.7 kB / 441.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.2334, allocations: 11.91 kB / 441.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.605e-05/0.2334, allocations: 25.8 kB / 441.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2335, allocations: 64 / 441.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2335, allocations: 4 kB / 441.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.2335, allocations: 23.88 kB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.2335, allocations: 4 kB / 441.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.2338, allocations: 27.84 kB / 441.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.2338, allocations: 19.97 kB / 441.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006828/0.2345, allocations: 284.5 kB / 442.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006166/0.2351, allocations: 398.6 kB / 442.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001632/0.2353, allocations: 59.95 kB / 442.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.986e-05/0.2354, allocations: 119.9 kB / 442.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Backend: time 4.21e-07/0.2354, allocations: 0 / 442.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000712/0.2361, allocations: 283.5 kB / 443 MB, free: 11.62 MB / 350.1 MB Notification: Performance of SimCode: time 0.001039/0.2371, allocations: 0.9196 MB / 443.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Templates: time 0.006875/0.244, allocations: 2.828 MB / 446.8 MB, free: 7.867 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: 4.5213481319951825]