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.001469/0.001469, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002333/0.002333, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.527/1.527, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001585/0.001585, allocations: 51.92 kB / 373.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.09611, allocations: 53.34 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004064/0.1002, allocations: 2.518 MB / 429.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1014, allocations: 0.6779 MB / 430 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1015, allocations: 8 kB / 430 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.1016, allocations: 35.64 kB / 430 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.1018, allocations: 71.34 kB / 430.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.102, allocations: 59.86 kB / 430.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.1023, allocations: 266.8 kB / 430.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.1025, allocations: 75.42 kB / 430.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1027, allocations: 103.6 kB / 430.6 MB, free: 476 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.1028, allocations: 111.5 kB / 430.7 MB, free: 364 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.1029, allocations: 20 kB / 430.7 MB, free: 344 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.158e-05/0.103, allocations: 24 kB / 430.7 MB, free: 320 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.103, allocations: 43.84 kB / 430.8 MB, free: 276 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.1031, allocations: 127.3 kB / 430.9 MB, free: 148 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1884/0.2916, allocations: 255.4 kB / 431.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2916, allocations: 0.8438 kB / 431.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2916, allocations: 3.062 kB / 431.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.2916, allocations: 0 / 431.2 MB, free: 8.613 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.0009119/0.2925, allocations: 0.5494 MB / 431.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2925, allocations: 9.062 kB / 431.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.2926, allocations: 29.05 kB / 431.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.2929, allocations: 228.4 kB / 432 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.2929, allocations: 18.19 kB / 432 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.2929, allocations: 18.91 kB / 432 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.2934, allocations: 229.8 kB / 432.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2934, allocations: 4.594 kB / 432.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.2934, allocations: 9.938 kB / 432.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.2934, allocations: 5.406 kB / 432.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.2938, allocations: 158.9 kB / 432.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.2949, allocations: 0.8243 MB / 433.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.2953, allocations: 158.1 kB / 433.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.2954, allocations: 71.67 kB / 433.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.2954, allocations: 3.969 kB / 433.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.2955, allocations: 30.56 kB / 433.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.2955, allocations: 0 / 433.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008126/0.2963, allocations: 342.3 kB / 433.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.2963, allocations: 53.59 kB / 433.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.2964, allocations: 178.7 kB / 434.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.2964, allocations: 30.23 kB / 434.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.2965, allocations: 155.2 kB / 434.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.2965, allocations: 57.92 kB / 434.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.2966, allocations: 40.58 kB / 434.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.142e-05/0.2966, allocations: 331.2 kB / 434.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.2968, allocations: 50.8 kB / 434.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.2969, allocations: 101 kB / 434.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.2972, allocations: 140.9 kB / 434.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2972, allocations: 4 kB / 434.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004475/0.2977, allocations: 213.1 kB / 435.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.2977, allocations: 13.11 kB / 435.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2977, allocations: 1.094 kB / 435.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.2979, allocations: 34.38 kB / 435.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.298, allocations: 41.36 kB / 435.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008556/0.2989, allocations: 1.461 MB / 436.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.2991, allocations: 33.08 kB / 436.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.2991, allocations: 9 kB / 436.7 MB, free: 5.023 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 8.556e-05/0.2992, allocations: 132.7 kB / 436.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.2992, allocations: 16.69 kB / 436.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/0.2992, allocations: 26.91 kB / 436.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2992, allocations: 2.562 kB / 436.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2993, allocations: 0 / 436.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2993, allocations: 1.469 kB / 436.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000652/0.2999, allocations: 0.5251 MB / 437.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2999, allocations: 1.406 kB / 437.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.3001, allocations: 26.05 kB / 437.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.3002, allocations: 37.09 kB / 437.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3002, allocations: 5.312 kB / 437.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007572/0.3009, allocations: 1.462 MB / 439 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3009, allocations: 7.016 kB / 439 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005971/0.3015, allocations: 352.8 kB / 439.3 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.3016, allocations: 108.3 kB / 439.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.3016, allocations: 4.688 kB / 439.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.3018, allocations: 17.83 kB / 439.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.3019, allocations: 18.23 kB / 439.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.3019, allocations: 7.359 kB / 439.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.106e-05/0.302, allocations: 129.8 kB / 439.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.302, allocations: 5.156 kB / 439.6 MB, free: 2.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.3023, allocations: 56.89 kB / 439.7 MB, free: 2.863 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 9.153e-05/0.3024, allocations: 106.6 kB / 439.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005042/0.3029, allocations: 250.5 kB / 440 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3029, allocations: 5.375 kB / 440 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.3031, allocations: 187.1 kB / 440.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.3035, allocations: 38.89 kB / 440.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006951/0.3042, allocations: 456.1 kB / 440.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.3043, allocations: 0.7365 MB / 441.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.245e-05/0.3044, allocations: 16.61 kB / 441.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.3044, allocations: 16.59 kB / 441.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3044, allocations: 0 / 441.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of Templates: time 0.006544/0.311, allocations: 2.485 MB / 443.9 MB, free: 1.422 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/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.6870867647230625]