Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 123.4 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 192.3 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 48.06 kB / 366.8 MB, free: 432 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1166, allocations: 52.15 MB / 418.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004875/0.1215, allocations: 2.52 MB / 421.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1228, allocations: 0.635 MB / 422.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1229, allocations: 4 kB / 422.1 MB, free: 9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.1231, allocations: 35.64 kB / 422.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.1233, allocations: 67.34 kB / 422.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.1236, allocations: 71.84 kB / 422.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.1239, allocations: 262.8 kB / 422.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.1241, allocations: 75.42 kB / 422.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.1243, allocations: 99.59 kB / 422.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1244, allocations: 111.5 kB / 422.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.1245, allocations: 24 kB / 422.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1246, allocations: 24 kB / 422.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.1246, allocations: 43.84 kB / 422.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1248, allocations: 119.5 kB / 423 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.1251, allocations: 266.8 kB / 423.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1252, allocations: 0 / 423.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1252, allocations: 4 kB / 423.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1252, allocations: 0 / 423.3 MB, free: 7.816 MB / 350.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.001111/0.1263, allocations: 0.5495 MB / 423.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1263, allocations: 19.89 kB / 423.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.1265, allocations: 24.8 kB / 423.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.1269, allocations: 228.4 kB / 424.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.1269, allocations: 16.81 kB / 424.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.127, allocations: 20.38 kB / 424.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.1274, allocations: 230.1 kB / 424.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1275, allocations: 0 / 424.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.1275, allocations: 16 kB / 424.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.1275, allocations: 7.984 kB / 424.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.1279, allocations: 157.7 kB / 424.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.1293, allocations: 0.8168 MB / 425.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.1297, allocations: 166.4 kB / 425.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.1299, allocations: 76.81 kB / 425.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1299, allocations: 0 / 425.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.13, allocations: 34.5 kB / 425.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.13, allocations: 0 / 425.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001019/0.131, allocations: 339.3 kB / 426 MB, free: 4.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.131, allocations: 51.41 kB / 426 MB, free: 4.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1312, allocations: 179.1 kB / 426.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.1312, allocations: 29.7 kB / 426.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1313, allocations: 148.3 kB / 426.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.1314, allocations: 59.53 kB / 426.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.1315, allocations: 41.7 kB / 426.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002518/0.1317, allocations: 326.8 kB / 426.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.1319, allocations: 51.97 kB / 426.8 MB, free: 4.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.132, allocations: 88.25 kB / 426.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.1324, allocations: 146.2 kB / 427.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1324, allocations: 0 / 427.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005002/0.1329, allocations: 222.1 kB / 427.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1329, allocations: 10.66 kB / 427.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1329, allocations: 0 / 427.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/0.1331, allocations: 28.84 kB / 427.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.1333, allocations: 39.91 kB / 427.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.1346, allocations: 1.461 MB / 428.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.1348, allocations: 43.84 kB / 428.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1348, allocations: 4 kB / 428.9 MB, free: 1.789 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.0001357/0.135, allocations: 137.8 kB / 429 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.135, allocations: 15.91 kB / 429 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.135, allocations: 21.86 kB / 429 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.135, allocations: 0 / 429 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1351, allocations: 0 / 429 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1351, allocations: 7.938 kB / 429 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008025/0.1359, allocations: 0.5249 MB / 429.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1359, allocations: 0 / 429.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.136, allocations: 27.97 kB / 429.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/0.1361, allocations: 32.84 kB / 429.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1361, allocations: 7.938 kB / 429.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/0.1374, allocations: 1.453 MB / 431.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1374, allocations: 11.94 kB / 431.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/0.1381, allocations: 352.2 kB / 431.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.1382, allocations: 112.9 kB / 431.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.1382, allocations: 4 kB / 431.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.1384, allocations: 20.05 kB / 431.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.1385, allocations: 19.97 kB / 431.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1385, allocations: 4 kB / 431.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.1386, allocations: 132.3 kB / 431.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1386, allocations: 4 kB / 431.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003307/0.1389, allocations: 59.89 kB / 431.8 MB, free: 14.61 MB / 366.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.000127/0.1391, allocations: 107.1 kB / 431.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005763/0.1396, allocations: 246.5 kB / 432.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.1396, allocations: 4 kB / 432.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.1399, allocations: 182.8 kB / 432.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.1403, allocations: 39.91 kB / 432.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/0.1412, allocations: 499.1 kB / 432.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.1416, allocations: 0.7359 MB / 433.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.693e-05/0.1416, allocations: 15.44 kB / 433.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1416, allocations: 0 / 433.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Templates: time 0.005648/0.1473, allocations: 3.169 MB / 436.8 MB, free: 9.547 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.760247053112835]