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.002006/0.002006, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001465/0.001465, allocations: 186 kB / 24.46 MB, free: 3.863 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.7 MB / 253.3 MB, free: 12.86 MB / 206.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.001666/0.001666, allocations: 47.92 kB / 371.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2652, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003919/0.2691, allocations: 2.387 MB / 426.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.2704, allocations: 0.6156 MB / 426.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.2705, allocations: 4 kB / 426.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.2706, allocations: 39.59 kB / 426.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.2708, allocations: 67.41 kB / 426.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.271, allocations: 75.84 kB / 427 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.2713, allocations: 258.8 kB / 427.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.2715, allocations: 72.72 kB / 427.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.2716, allocations: 95.72 kB / 427.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.2718, allocations: 95.48 kB / 427.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.2718, allocations: 28 kB / 427.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.984e-05/0.2719, allocations: 31.92 kB / 427.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.272, allocations: 43.84 kB / 427.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.2721, allocations: 99.58 kB / 427.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.2724, allocations: 261.8 kB / 428 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2724, allocations: 0 / 428 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2724, allocations: 0 / 428 MB, free: 10.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2724, allocations: 0 / 428 MB, free: 10.32 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.00093/0.2734, allocations: 485.6 kB / 428.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2734, allocations: 12.02 kB / 428.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.2735, allocations: 28.8 kB / 428.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.2738, allocations: 182.5 kB / 428.7 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.2739, allocations: 16.81 kB / 428.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.2739, allocations: 24.38 kB / 428.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.2744, allocations: 255.8 kB / 428.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.2744, allocations: 0 / 428.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.2744, allocations: 12 kB / 429 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.2744, allocations: 4 kB / 429 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.2748, allocations: 157.6 kB / 429.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.276, allocations: 0.6891 MB / 429.8 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.2764, allocations: 150.5 kB / 429.9 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.2766, allocations: 80.19 kB / 430 MB, free: 8.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.2766, allocations: 4 kB / 430 MB, free: 8.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2766, allocations: 30.56 kB / 430.1 MB, free: 8.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.2766, allocations: 0 / 430.1 MB, free: 8.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008222/0.2775, allocations: 262.1 kB / 430.3 MB, free: 7.816 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.2775, allocations: 55.34 kB / 430.4 MB, free: 7.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.2777, allocations: 165.1 kB / 430.5 MB, free: 7.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.2777, allocations: 29.7 kB / 430.6 MB, free: 7.547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2778, allocations: 152.3 kB / 430.7 MB, free: 7.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.2778, allocations: 55.53 kB / 430.8 MB, free: 7.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.2779, allocations: 41.66 kB / 430.8 MB, free: 7.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.2781, allocations: 326.8 kB / 431.1 MB, free: 6.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.2782, allocations: 59.91 kB / 431.2 MB, free: 6.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.2784, allocations: 94.06 kB / 431.3 MB, free: 6.801 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.2787, allocations: 142.7 kB / 431.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2787, allocations: 0 / 431.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004563/0.2791, allocations: 214.2 kB / 431.6 MB, free: 6.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2791, allocations: 7.938 kB / 431.6 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2792, allocations: 0 / 431.6 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/0.2793, allocations: 32.83 kB / 431.7 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.2795, allocations: 39.92 kB / 431.7 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.2807, allocations: 1.34 MB / 433 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.2809, allocations: 23.91 kB / 433.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.2809, allocations: 12 kB / 433.1 MB, free: 4.871 MB / 334.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.0001295/0.281, allocations: 129.8 kB / 433.2 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.2811, allocations: 19.89 kB / 433.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.98e-05/0.2811, allocations: 29.95 kB / 433.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2811, allocations: 7.984 kB / 433.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2811, allocations: 0 / 433.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2811, allocations: 0 / 433.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007083/0.2818, allocations: 442.7 kB / 433.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2818, allocations: 0 / 433.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.282, allocations: 27.92 kB / 433.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.2821, allocations: 36.83 kB / 433.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.2821, allocations: 7.938 kB / 433.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.2833, allocations: 1.335 MB / 435.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2833, allocations: 0 / 435.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/0.2839, allocations: 351.5 kB / 435.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.284, allocations: 27.98 kB / 435.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.284, allocations: 8 kB / 435.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.2842, allocations: 23.91 kB / 435.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.2843, allocations: 23.91 kB / 435.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.2843, allocations: 0 / 435.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.756e-05/0.2844, allocations: 124.2 kB / 435.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2844, allocations: 0 / 435.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000322/0.2847, allocations: 59.89 kB / 435.7 MB, free: 2.062 MB / 334.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.0001347/0.2848, allocations: 107.4 kB / 435.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005576/0.2854, allocations: 254.1 kB / 436.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2854, allocations: 0 / 436.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.2857, allocations: 186.5 kB / 436.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.286, allocations: 36.22 kB / 436.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008942/0.2869, allocations: 489 kB / 436.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.287, allocations: 125.2 kB / 436.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.2871, allocations: 19.44 kB / 436.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2871, allocations: 0 / 436.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of Templates: time 0.005422/0.2925, allocations: 3.163 MB / 440.1 MB, free: 13.62 MB / 350.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.670223590917885]