Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001769/0.001769, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00212/0.00212, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002571/0.002571, allocations: 59.91 kB / 379 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2797, allocations: 53.42 MB / 432.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003962/0.2836, allocations: 2.408 MB / 434.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.285, allocations: 0.6429 MB / 435.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.2851, allocations: 7.938 kB / 435.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.2852, allocations: 35.64 kB / 435.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.2854, allocations: 71.41 kB / 435.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.2856, allocations: 63.86 kB / 435.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.286, allocations: 266.7 kB / 435.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.2862, allocations: 72.73 kB / 435.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.2863, allocations: 99.7 kB / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.2865, allocations: 99.47 kB / 436.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.2865, allocations: 20 kB / 436.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.878e-05/0.2866, allocations: 28 kB / 436.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.2867, allocations: 43.84 kB / 436.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.2868, allocations: 103.5 kB / 436.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.2871, allocations: 253.8 kB / 436.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2871, allocations: 0 / 436.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2871, allocations: 0 / 436.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2871, allocations: 4 kB / 436.6 MB, free: 2.348 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.001015/0.2882, allocations: 481.6 kB / 437 MB, free: 1.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.2882, allocations: 15.98 kB / 437.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.2883, allocations: 24.8 kB / 437.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.2887, allocations: 189.5 kB / 437.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.2887, allocations: 20.75 kB / 437.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.2888, allocations: 24.38 kB / 437.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.2893, allocations: 255.9 kB / 437.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.2893, allocations: 3.953 kB / 437.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.2893, allocations: 8 kB / 437.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.2893, allocations: 8 kB / 437.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.2897, allocations: 157.6 kB / 437.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.291, allocations: 0.6929 MB / 438.4 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.2915, allocations: 154.5 kB / 438.6 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.2916, allocations: 72.81 kB / 438.7 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.2917, allocations: 0 / 438.7 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.2917, allocations: 34.56 kB / 438.7 MB, free: 104 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/0.2917, allocations: 0 / 438.7 MB, free: 104 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008859/0.2926, allocations: 261.6 kB / 438.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.2926, allocations: 55.41 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.2928, allocations: 159.2 kB / 439.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.2928, allocations: 33.7 kB / 439.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.293, allocations: 152.2 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.293, allocations: 55.48 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-05/0.2931, allocations: 41.7 kB / 439.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.2933, allocations: 322.8 kB / 439.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.2935, allocations: 63.83 kB / 439.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.2936, allocations: 91.83 kB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.294, allocations: 144.2 kB / 440 MB, free: 14.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.294, allocations: 0 / 440 MB, free: 14.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004841/0.2944, allocations: 220.3 kB / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2945, allocations: 7.938 kB / 440.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2945, allocations: 4 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/0.2947, allocations: 28.84 kB / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2948, allocations: 39.91 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.2962, allocations: 1.331 MB / 441.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.2964, allocations: 35.84 kB / 441.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.2965, allocations: 12 kB / 441.7 MB, free: 12.88 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.0001579/0.2966, allocations: 129.8 kB / 441.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.2967, allocations: 19.84 kB / 441.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.2967, allocations: 29.73 kB / 441.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2967, allocations: 4.062 kB / 441.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2967, allocations: 4 kB / 441.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2967, allocations: 0 / 441.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007799/0.2975, allocations: 438.8 kB / 442.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2975, allocations: 0 / 442.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.2977, allocations: 27.92 kB / 442.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/0.2978, allocations: 36.83 kB / 442.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2978, allocations: 3.938 kB / 442.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.2991, allocations: 1.331 MB / 443.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2991, allocations: 0 / 443.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006845/0.2998, allocations: 352 kB / 444.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.2998, allocations: 28 kB / 444.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.2999, allocations: 8.109 kB / 444.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.3001, allocations: 27.97 kB / 444.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.3002, allocations: 19.91 kB / 444.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.3002, allocations: 8 kB / 444.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.88e-05/0.3003, allocations: 112 kB / 444.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3003, allocations: 0 / 444.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.3007, allocations: 63.89 kB / 444.3 MB, free: 10.09 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.0001439/0.3008, allocations: 99.25 kB / 444.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005605/0.3014, allocations: 257.5 kB / 444.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3014, allocations: 0 / 444.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.3017, allocations: 178.6 kB / 444.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.302, allocations: 32.23 kB / 444.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008987/0.3029, allocations: 495.9 kB / 445.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.303, allocations: 125.2 kB / 445.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.3031, allocations: 15.44 kB / 445.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3031, allocations: 4 kB / 445.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of Templates: time 0.005776/0.3088, allocations: 3.162 MB / 448.7 MB, free: 5.656 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.450718359090388]