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.0009393/0.0009393, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.0009962/0.0009962, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 18.57 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 0.9701/0.9701, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.462e-06/1.462e-06, allocations: 0 / 273 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.957e-05, allocations: 6.25 kB / 273 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.006474/0.006493, allocations: 2.559 MB / 275.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009612/0.007455, allocations: 0.6661 MB / 276.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003135/0.01059, allocations: 4 kB / 276.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.01074, allocations: 35.66 kB / 276.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.01087, allocations: 75.27 kB / 276.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.01111, allocations: 59.91 kB / 276.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.01137, allocations: 274.6 kB / 276.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.01155, allocations: 75.94 kB / 276.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.01172, allocations: 147.6 kB / 276.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.01185, allocations: 83.77 kB / 277 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.01188, allocations: 20 kB / 277 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.596e-05/0.01194, allocations: 24 kB / 277 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.149e-05/0.01198, allocations: 55.77 kB / 277.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.591e-05/0.01206, allocations: 75.83 kB / 277.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.0123, allocations: 179.4 kB / 277.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.0123, allocations: 0 / 277.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01231, allocations: 4 kB / 277.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.01231, allocations: 0 / 277.3 MB, free: 13.52 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.0006462/0.01296, allocations: 0.5547 MB / 277.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.01299, allocations: 8.031 kB / 277.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.01312, allocations: 48.73 kB / 278 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.01334, allocations: 193.4 kB / 278.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.01336, allocations: 16.88 kB / 278.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.0134, allocations: 24.38 kB / 278.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.01464, allocations: 223.4 kB / 278.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.01465, allocations: 192 / 278.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.01467, allocations: 16.36 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.01469, allocations: 7.938 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.01486, allocations: 82.88 kB / 278.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008441/0.01571, allocations: 0.7814 MB / 279.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.01596, allocations: 123.1 kB / 279.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.901e-05/0.01604, allocations: 39.67 kB / 279.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.01606, allocations: 4 kB / 279.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.01608, allocations: 41.38 kB / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.01609, allocations: 8 kB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004912/0.01658, allocations: 188.3 kB / 279.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.0166, allocations: 55.41 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.01674, allocations: 210.6 kB / 279.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.01676, allocations: 33.7 kB / 280 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.01685, allocations: 199 kB / 280.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.01689, allocations: 63.48 kB / 280.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.01696, allocations: 47.36 kB / 280.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.01709, allocations: 0.4923 MB / 280.8 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.829e-05/0.01714, allocations: 27.98 kB / 280.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.413e-05/0.01723, allocations: 78.34 kB / 280.9 MB, free: 9.734 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.01737, allocations: 104.7 kB / 281 MB, free: 9.613 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01737, allocations: 0 / 281 MB, free: 9.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002685/0.01764, allocations: 177 kB / 281.2 MB, free: 9.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.01765, allocations: 4 kB / 281.2 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01766, allocations: 4 kB / 281.2 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.01784, allocations: 31.66 kB / 281.2 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01795, allocations: 35.86 kB / 281.2 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.01917, allocations: 1.799 MB / 283 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.31e-05/0.01925, allocations: 19.89 kB / 283 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.01926, allocations: 8 kB / 283.1 MB, free: 7.398 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.0001096/0.01937, allocations: 176.5 kB / 283.2 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.01942, allocations: 19.84 kB / 283.2 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.01945, allocations: 25.8 kB / 283.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.01945, allocations: 4 kB / 283.3 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01945, allocations: 4.031 kB / 283.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01946, allocations: 0 / 283.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.01989, allocations: 448.8 kB / 283.7 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.0199, allocations: 4 kB / 283.7 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.205e-05/0.01997, allocations: 19.98 kB / 283.7 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.083e-05/0.02005, allocations: 27.67 kB / 283.8 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.02006, allocations: 7.984 kB / 283.8 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006931/0.02075, allocations: 1.807 MB / 285.6 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.02075, allocations: 0 / 285.6 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.021, allocations: 315.3 kB / 285.9 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.02104, allocations: 31.81 kB / 285.9 MB, free: 4.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.02105, allocations: 4 kB / 285.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.02112, allocations: 8 kB / 285.9 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.02118, allocations: 23.95 kB / 286 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.02118, allocations: 4.062 kB / 286 MB, free: 4.281 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.492e-05/0.02125, allocations: 160.8 kB / 286.1 MB, free: 4.125 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02125, allocations: 0 / 286.1 MB, free: 4.125 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002083/0.02146, allocations: 71.78 kB / 286.2 MB, free: 4.055 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 7.809e-05/0.02153, allocations: 99.19 kB / 286.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.02182, allocations: 266.8 kB / 286.5 MB, free: 3.672 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.02182, allocations: 0 / 286.5 MB, free: 3.672 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.02194, allocations: 245 kB / 286.8 MB, free: 3.414 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.02215, allocations: 27.98 kB / 286.8 MB, free: 3.387 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006949/0.02285, allocations: 418.3 kB / 287.2 MB, free: 2.949 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.527e-05/0.02289, allocations: 79.97 kB / 287.3 MB, free: 2.852 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.648e-05/0.02294, allocations: 13.5 kB / 287.3 MB, free: 2.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.02297, allocations: 12.5 kB / 287.3 MB, free: 2.828 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02297, allocations: 4 kB / 287.3 MB, free: 2.824 MB / 266.7 MB Notification: Performance of Templates: time 0.004354/0.02733, allocations: 2.424 MB / 289.8 MB, free: 456 kB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7103117420338094]