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.0007428/0.0007428, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001038/0.001781, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006831/0.0006831, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008955/0.001579, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9761/0.9761, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08415/1.06, allocations: 53.86 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] 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 1.253e-06/1.253e-06, allocations: 0 / 245.2 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.071e-05, allocations: 5.406 kB / 245.2 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00611/0.006131, allocations: 2.597 MB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009845/0.007116, allocations: 0.7008 MB / 248.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.007216, allocations: 4 kB / 248.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.35e-05/0.00731, allocations: 35.64 kB / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.007428, allocations: 71.28 kB / 248.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.007579, allocations: 71.84 kB / 248.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.007829, allocations: 274.7 kB / 248.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.007969, allocations: 75.06 kB / 249 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.008153, allocations: 171.7 kB / 249.2 MB, free: 9.594 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.008276, allocations: 79.72 kB / 249.3 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.008305, allocations: 20 kB / 249.3 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.95e-05/0.008385, allocations: 28 kB / 249.3 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003047/0.01143, allocations: 35.88 kB / 249.3 MB, free: 9.434 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.025e-05/0.0115, allocations: 67.88 kB / 249.4 MB, free: 9.367 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.01173, allocations: 167.4 kB / 249.6 MB, free: 9.203 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.01174, allocations: 4 kB / 249.6 MB, free: 9.199 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01175, allocations: 0 / 249.6 MB, free: 9.199 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.01175, allocations: 0 / 249.6 MB, free: 9.199 MB / 250.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.0005892/0.01234, allocations: 488 kB / 250 MB, free: 8.699 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.01237, allocations: 8.031 kB / 250.1 MB, free: 8.691 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.01252, allocations: 122 kB / 250.2 MB, free: 8.555 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.01269, allocations: 157.4 kB / 250.3 MB, free: 8.375 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.01271, allocations: 16.88 kB / 250.3 MB, free: 8.359 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.01276, allocations: 20.38 kB / 250.4 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.01299, allocations: 213.7 kB / 250.6 MB, free: 8.113 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.013, allocations: 192 / 250.6 MB, free: 8.113 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.01302, allocations: 4.375 kB / 250.6 MB, free: 8.109 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.01303, allocations: 11.94 kB / 250.6 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.01313, allocations: 61.41 kB / 250.6 MB, free: 8.035 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007176/0.01385, allocations: 0.5728 MB / 251.2 MB, free: 7.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.01403, allocations: 102.5 kB / 251.3 MB, free: 7.32 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.804e-05/0.01408, allocations: 40.83 kB / 251.4 MB, free: 7.277 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.01409, allocations: 8 kB / 251.4 MB, free: 7.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.01411, allocations: 34.56 kB / 251.4 MB, free: 7.227 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.01411, allocations: 0 / 251.4 MB, free: 7.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.003352/0.01746, allocations: 146.3 kB / 251.5 MB, free: 7.074 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.01749, allocations: 59.39 kB / 251.6 MB, free: 7.004 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.01764, allocations: 159.3 kB / 251.8 MB, free: 6.832 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.01766, allocations: 25.7 kB / 251.8 MB, free: 6.801 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.01772, allocations: 152.3 kB / 251.9 MB, free: 6.648 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.01776, allocations: 59.47 kB / 252 MB, free: 6.59 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.01781, allocations: 41.69 kB / 252 MB, free: 6.543 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.002e-05/0.01789, allocations: 326.8 kB / 252.3 MB, free: 6.215 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.728e-05/0.01791, allocations: 12 kB / 252.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-05/0.01797, allocations: 60.19 kB / 252.4 MB, free: 6.129 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.627e-05/0.01806, allocations: 91.14 kB / 252.5 MB, free: 6.027 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01806, allocations: 7.938 kB / 252.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001695/0.01823, allocations: 126.3 kB / 252.6 MB, free: 5.887 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.01825, allocations: 7.984 kB / 252.6 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.01825, allocations: 4 kB / 252.6 MB, free: 5.875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.0184, allocations: 28.83 kB / 252.7 MB, free: 5.844 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.01852, allocations: 35.92 kB / 252.7 MB, free: 5.809 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007819/0.0193, allocations: 1.222 MB / 253.9 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.284e-05/0.01938, allocations: 23.88 kB / 254 MB, free: 4.477 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.01938, allocations: 4 kB / 254 MB, free: 4.473 MB / 250.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 6.867e-05/0.01945, allocations: 113.8 kB / 254.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.01949, allocations: 19.92 kB / 254.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.01951, allocations: 25.75 kB / 254.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01952, allocations: 8.031 kB / 254.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01952, allocations: 0 / 254.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01952, allocations: 3.984 kB / 254.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.01984, allocations: 310.3 kB / 254.4 MB, free: 3.965 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01984, allocations: 0 / 254.4 MB, free: 3.965 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.01994, allocations: 31.98 kB / 254.5 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.01997, allocations: 19.84 kB / 254.5 MB, free: 3.914 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.559e-05/0.02006, allocations: 28.95 kB / 254.5 MB, free: 3.883 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.02007, allocations: 8 kB / 254.5 MB, free: 3.875 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003607/0.02367, allocations: 1.206 MB / 255.7 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02368, allocations: 0 / 255.7 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.02388, allocations: 228.2 kB / 255.9 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.0239, allocations: 4 kB / 256 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.793e-05/0.02399, allocations: 20.05 kB / 256 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.02404, allocations: 15.97 kB / 256 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.02404, allocations: 4 kB / 256 MB, free: 2.301 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.373e-05/0.02408, allocations: 42.38 kB / 256 MB, free: 2.258 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02408, allocations: 4 kB / 256 MB, free: 2.254 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.02432, allocations: 59.89 kB / 256.1 MB, free: 2.195 MB / 250.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 8.201e-05/0.02441, allocations: 84.3 kB / 256.2 MB, free: 2.105 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.02463, allocations: 201.7 kB / 256.4 MB, free: 1.898 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.02464, allocations: 4 kB / 256.4 MB, free: 1.895 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.02476, allocations: 183.1 kB / 256.6 MB, free: 1.703 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.02504, allocations: 287.4 kB / 256.8 MB, free: 1.367 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006348/0.03139, allocations: 420.4 kB / 257.2 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.019e-05/0.03144, allocations: 79.98 kB / 257.3 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.208e-05/0.0315, allocations: 13.48 kB / 257.3 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.0316, allocations: 83.36 kB / 257.4 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of SimCode: time 8.82e-07/0.0316, allocations: 3.938 kB / 257.4 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of Templates: time 0.01124/0.04284, allocations: 2.671 MB / 260.1 MB, free: 14.09 MB / 266.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5436757523566484]