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.00228/0.00228, allocations: 99.53 kB / 20.97 MB, free: 3.449 MB / 18.57 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.002038/0.002038, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 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.557/1.557, allocations: 177 MB / 204.4 MB, free: 5.641 MB / 186.7 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 2.034e-06/2.034e-06, allocations: 0 / 272.2 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.034e-05, allocations: 2.312 kB / 272.2 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004688/0.004718, allocations: 2.52 MB / 274.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.006076, allocations: 0.6699 MB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.006192, allocations: 4 kB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.006352, allocations: 39.64 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.006509, allocations: 75.28 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.006776, allocations: 59.91 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.007151, allocations: 274.6 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.007354, allocations: 76.5 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.00759, allocations: 151.6 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.007757, allocations: 79.78 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.007806, allocations: 20 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.496e-05/0.007901, allocations: 35.94 kB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.369e-05/0.007964, allocations: 47.83 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.00808, allocations: 79.83 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.008496, allocations: 271.1 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.008499, allocations: 0 / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.0085, allocations: 0 / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.008506, allocations: 0 / 276.5 MB, free: 13.45 MB / 266.7 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.0009618/0.009468, allocations: 0.5661 MB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.009518, allocations: 11.98 kB / 277.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.009679, allocations: 48.73 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.009988, allocations: 180.7 kB / 277.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.01001, allocations: 16.88 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.01006, allocations: 20.38 kB / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.01055, allocations: 254.7 kB / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.01057, allocations: 4.141 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.0106, allocations: 16.38 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.01061, allocations: 11.94 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.01098, allocations: 145.9 kB / 277.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.0124, allocations: 0.8361 MB / 278.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.0128, allocations: 151.1 kB / 278.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.01296, allocations: 67.66 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.01299, allocations: 4 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.01303, allocations: 37.39 kB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.01303, allocations: 3.938 kB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008271/0.01385, allocations: 249.1 kB / 279.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.0139, allocations: 51.41 kB / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.01412, allocations: 238.5 kB / 279.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.01415, allocations: 29.7 kB / 279.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.01431, allocations: 207.1 kB / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.16e-05/0.01438, allocations: 59.53 kB / 279.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/0.01447, allocations: 47.38 kB / 279.8 MB, free: 10 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002775/0.01474, allocations: 0.5 MB / 280.3 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.01488, allocations: 51.97 kB / 280.3 MB, free: 9.441 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.01506, allocations: 102.3 kB / 280.4 MB, free: 9.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.01535, allocations: 153.2 kB / 280.6 MB, free: 9.152 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.01536, allocations: 4 kB / 280.6 MB, free: 9.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006769/0.01603, allocations: 213 kB / 280.8 MB, free: 8.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.01605, allocations: 4 kB / 280.8 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.01606, allocations: 7.984 kB / 280.8 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/0.01629, allocations: 39.66 kB / 280.8 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.01644, allocations: 39.86 kB / 280.9 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.01819, allocations: 1.858 MB / 282.7 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.01833, allocations: 23.92 kB / 282.7 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.01834, allocations: 4 kB / 282.7 MB, free: 6.824 MB / 266.7 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.0001649/0.01851, allocations: 176.5 kB / 282.9 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.01856, allocations: 31.83 kB / 283 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.32e-05/0.01862, allocations: 17.81 kB / 283 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01862, allocations: 0 / 283 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.01862, allocations: 0 / 283 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01863, allocations: 0 / 283 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008019/0.01943, allocations: 0.5203 MB / 283.5 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01943, allocations: 0 / 283.5 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.01957, allocations: 24.12 kB / 283.5 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001478/0.01972, allocations: 39.66 kB / 283.6 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.01974, allocations: 7.984 kB / 283.6 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.02139, allocations: 1.857 MB / 285.4 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02139, allocations: 0 / 285.4 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/0.02203, allocations: 398.3 kB / 285.8 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.0221, allocations: 23.89 kB / 285.8 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.02212, allocations: 0 / 285.8 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.02228, allocations: 15.98 kB / 285.8 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.02234, allocations: 15.97 kB / 285.9 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.02235, allocations: 8.062 kB / 285.9 MB, free: 3.496 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.02249, allocations: 164.8 kB / 286 MB, free: 3.336 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02249, allocations: 0 / 286 MB, free: 3.336 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003235/0.02281, allocations: 75.66 kB / 286.1 MB, free: 3.262 MB / 266.7 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.0001266/0.02294, allocations: 103.3 kB / 286.2 MB, free: 3.152 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005623/0.0235, allocations: 312 kB / 286.5 MB, free: 2.828 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.0235, allocations: 256 / 286.5 MB, free: 2.828 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.02383, allocations: 265.3 kB / 286.8 MB, free: 2.547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.02416, allocations: 39.91 kB / 286.8 MB, free: 2.508 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.02497, allocations: 422.3 kB / 287.2 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.02512, allocations: 125.2 kB / 287.3 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.191e-05/0.02518, allocations: 9.5 kB / 287.4 MB, free: 1.922 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.02523, allocations: 16.5 kB / 287.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02523, allocations: 0 / 287.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of Templates: time 0.007173/0.0324, allocations: 2.44 MB / 289.8 MB, free: 15.5 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_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: 4.450762282940559]