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.0007648/0.0007648, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001818, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006909/0.0006909, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009855/0.001676, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9904/0.9904, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1073/1.098, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.373e-06/1.373e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.892e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002503/0.002522, allocations: 2.597 MB / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006492/0.003171, allocations: 0.693 MB / 248 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.579e-05/0.003247, allocations: 8 kB / 248 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.248e-05/0.00332, allocations: 39.64 kB / 248 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.164e-05/0.003401, allocations: 71.28 kB / 248.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001091/0.003511, allocations: 63.84 kB / 248.2 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.003697, allocations: 270.7 kB / 248.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.00381, allocations: 78.5 kB / 248.5 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.00395, allocations: 167.7 kB / 248.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.004055, allocations: 91.7 kB / 248.8 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.004077, allocations: 20 kB / 248.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.177e-05/0.004139, allocations: 24 kB / 248.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.73e-05/0.004167, allocations: 35.88 kB / 248.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.004216, allocations: 67.88 kB / 248.9 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.004389, allocations: 167.4 kB / 249.1 MB, free: 9.832 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.004398, allocations: 0 / 249.1 MB, free: 9.832 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004398, allocations: 0 / 249.1 MB, free: 9.832 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.004407, allocations: 0 / 249.1 MB, free: 9.832 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.000487/0.004894, allocations: 492 kB / 249.5 MB, free: 9.328 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.47e-05/0.004919, allocations: 8.031 kB / 249.6 MB, free: 9.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.005031, allocations: 114 kB / 249.7 MB, free: 9.191 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.005178, allocations: 162.2 kB / 249.8 MB, free: 9.008 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.005191, allocations: 12.88 kB / 249.8 MB, free: 8.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.00522, allocations: 24.38 kB / 249.9 MB, free: 8.973 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.005425, allocations: 217.7 kB / 250.1 MB, free: 8.742 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.005436, allocations: 192 / 250.1 MB, free: 8.742 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.005454, allocations: 8.375 kB / 250.1 MB, free: 8.734 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.005464, allocations: 11.94 kB / 250.1 MB, free: 8.723 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.388e-05/0.005548, allocations: 57.41 kB / 250.1 MB, free: 8.664 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005776/0.006125, allocations: 0.5806 MB / 250.7 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.006274, allocations: 102.5 kB / 250.8 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.00631, allocations: 32.84 kB / 250.9 MB, free: 7.906 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.00632, allocations: 4 kB / 250.9 MB, free: 7.902 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.006338, allocations: 34.56 kB / 250.9 MB, free: 7.859 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 9.02e-07/0.006339, allocations: 0 / 250.9 MB, free: 7.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002767/0.006616, allocations: 154.3 kB / 251 MB, free: 7.699 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.006637, allocations: 55.41 kB / 251.1 MB, free: 7.633 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.006712, allocations: 163.2 kB / 251.3 MB, free: 7.457 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.006728, allocations: 25.7 kB / 251.3 MB, free: 7.426 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.00678, allocations: 144.3 kB / 251.4 MB, free: 7.281 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.006809, allocations: 59.45 kB / 251.5 MB, free: 7.223 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.006848, allocations: 41.69 kB / 251.5 MB, free: 7.176 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.006915, allocations: 322.8 kB / 251.8 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/0.006938, allocations: 23.92 kB / 251.9 MB, free: 6.828 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.866e-05/0.006977, allocations: 56.27 kB / 251.9 MB, free: 6.758 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.011e-05/0.007047, allocations: 86.52 kB / 252 MB, free: 6.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.00705, allocations: 3.938 kB / 252 MB, free: 6.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001325/0.007182, allocations: 130.3 kB / 252.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.007191, allocations: 8.125 kB / 252.1 MB, free: 6.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.007196, allocations: 4 kB / 252.1 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001201/0.007316, allocations: 32.81 kB / 252.2 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.00742, allocations: 36.7 kB / 252.2 MB, free: 6.438 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005694/0.00799, allocations: 1.225 MB / 253.4 MB, free: 5.125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.008044, allocations: 23.92 kB / 253.5 MB, free: 5.102 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.008051, allocations: 4 kB / 253.5 MB, free: 5.098 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.063e-05/0.008112, allocations: 121.8 kB / 253.6 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.008134, allocations: 11.98 kB / 253.6 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.008156, allocations: 29.73 kB / 253.6 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008157, allocations: 4 kB / 253.6 MB, free: 4.922 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.008159, allocations: 0 / 253.6 MB, free: 4.922 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.008161, allocations: 0 / 253.6 MB, free: 4.922 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.008414, allocations: 307.4 kB / 253.9 MB, free: 4.594 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.008416, allocations: 8 kB / 253.9 MB, free: 4.586 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.008495, allocations: 23.98 kB / 254 MB, free: 4.562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.008523, allocations: 19.84 kB / 254 MB, free: 4.543 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.172e-05/0.008595, allocations: 28.83 kB / 254 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.0086, allocations: 0 / 254 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004777/0.009078, allocations: 1.218 MB / 255.2 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.009079, allocations: 0 / 255.2 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.009238, allocations: 227.9 kB / 255.5 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.00925, allocations: 11.98 kB / 255.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.009317, allocations: 8 kB / 255.5 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.009356, allocations: 23.89 kB / 255.5 MB, free: 2.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.009362, allocations: 4 kB / 255.5 MB, free: 2.926 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.015e-05/0.009392, allocations: 42.45 kB / 255.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009392, allocations: 0 / 255.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.00955, allocations: 59.95 kB / 255.6 MB, free: 2.824 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 6.589e-05/0.009616, allocations: 92.28 kB / 255.7 MB, free: 2.727 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.009794, allocations: 203.8 kB / 255.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.0098, allocations: 0 / 255.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.507e-05/0.009895, allocations: 175.3 kB / 256.1 MB, free: 2.332 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.01011, allocations: 298.4 kB / 256.4 MB, free: 1.988 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.01241, allocations: 408.5 kB / 256.7 MB, free: 1.555 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.758e-05/0.01245, allocations: 79.98 kB / 256.8 MB, free: 1.457 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.401e-05/0.0125, allocations: 17.42 kB / 256.8 MB, free: 1.441 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.249e-05/0.01258, allocations: 83.34 kB / 256.9 MB, free: 1.359 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01258, allocations: 0 / 256.9 MB, free: 1.359 MB / 250.7 MB Notification: Performance of Templates: time 0.004001/0.01658, allocations: 2.678 MB / 259.6 MB, free: 14.73 MB / 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.54497510753572]