Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001552/0.001552, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001533/0.001533, allocations: 166.4 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 158.6 MB / 186.8 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.699e-06/4.699e-06, allocations: 4 kB / 250.3 MB, free: 7.867 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/3.244e-05, allocations: 2.312 kB / 250.3 MB, free: 7.863 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004315/0.004347, allocations: 2.358 MB / 252.7 MB, free: 5.492 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.005673, allocations: 0.6203 MB / 253.3 MB, free: 4.859 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.005787, allocations: 8 kB / 253.3 MB, free: 4.852 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.005943, allocations: 39.64 kB / 253.4 MB, free: 4.812 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.0061, allocations: 67.3 kB / 253.4 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.006626, allocations: 67.78 kB / 253.5 MB, free: 4.68 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.007002, allocations: 278.6 kB / 253.8 MB, free: 4.406 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.007198, allocations: 67.95 kB / 253.8 MB, free: 4.34 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.00744, allocations: 151.7 kB / 254 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.0076, allocations: 79.78 kB / 254.1 MB, free: 4.113 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/0.007642, allocations: 24 kB / 254.1 MB, free: 4.09 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.374e-05/0.007726, allocations: 27.94 kB / 254.1 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.007783, allocations: 47.83 kB / 254.2 MB, free: 4.016 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.0079, allocations: 83.81 kB / 254.2 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.008311, allocations: 263.1 kB / 254.5 MB, free: 3.676 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.008315, allocations: 0 / 254.5 MB, free: 3.676 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008316, allocations: 0 / 254.5 MB, free: 3.676 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.008323, allocations: 3.938 kB / 254.5 MB, free: 3.672 MB / 234.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.001065/0.009388, allocations: 485.7 kB / 255 MB, free: 3.168 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.00943, allocations: 11.98 kB / 255 MB, free: 3.156 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.009611, allocations: 44.8 kB / 255 MB, free: 3.113 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.009985, allocations: 181.7 kB / 255.2 MB, free: 2.906 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.01002, allocations: 20.88 kB / 255.2 MB, free: 2.887 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.01007, allocations: 20.38 kB / 255.2 MB, free: 2.867 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.0106, allocations: 253 kB / 255.5 MB, free: 2.602 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.01062, allocations: 4.125 kB / 255.5 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.01065, allocations: 12.38 kB / 255.5 MB, free: 2.586 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.01066, allocations: 7.938 kB / 255.5 MB, free: 2.578 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.01108, allocations: 157.9 kB / 255.7 MB, free: 2.426 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.01247, allocations: 0.6897 MB / 256.4 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.01289, allocations: 150.6 kB / 256.5 MB, free: 1.531 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.01309, allocations: 76.81 kB / 256.6 MB, free: 1.453 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.01311, allocations: 3.938 kB / 256.6 MB, free: 1.449 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.01314, allocations: 38.56 kB / 256.6 MB, free: 1.402 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.01315, allocations: 0 / 256.6 MB, free: 1.402 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.000909/0.01406, allocations: 262.2 kB / 256.9 MB, free: 1.137 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.01411, allocations: 59.34 kB / 256.9 MB, free: 1.066 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.01429, allocations: 151.3 kB / 257.1 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.01432, allocations: 33.7 kB / 257.1 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.01444, allocations: 148.3 kB / 257.3 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.0145, allocations: 55.48 kB / 257.3 MB, free: 0.668 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-05/0.01457, allocations: 37.72 kB / 257.4 MB, free: 0.625 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.01475, allocations: 326.8 kB / 257.7 MB, free: 304 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.01492, allocations: 59.91 kB / 257.7 MB, free: 244 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.01512, allocations: 92.19 kB / 257.8 MB, free: 136 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.01547, allocations: 139.6 kB / 258 MB, free: 15.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01548, allocations: 4 kB / 258 MB, free: 15.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005217/0.016, allocations: 226.1 kB / 258.2 MB, free: 15.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.01601, allocations: 8 kB / 258.2 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01602, allocations: 3.938 kB / 258.2 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/0.01627, allocations: 36.83 kB / 258.2 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.01643, allocations: 40.05 kB / 258.3 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.01792, allocations: 1.347 MB / 259.6 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.0181, allocations: 23.88 kB / 259.6 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.01812, allocations: 8 kB / 259.6 MB, free: 14.17 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 0.0001476/0.01826, allocations: 137.8 kB / 259.8 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.01832, allocations: 23.84 kB / 259.8 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.01837, allocations: 21.81 kB / 259.8 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.01837, allocations: 0 / 259.8 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.01838, allocations: 0 / 259.8 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01838, allocations: 0 / 259.8 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008202/0.0192, allocations: 442.8 kB / 260.3 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.0192, allocations: 144 / 260.3 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.01936, allocations: 27.97 kB / 260.3 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001504/0.01951, allocations: 40.83 kB / 260.3 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.01953, allocations: 7.938 kB / 260.3 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.02127, allocations: 1.339 MB / 261.7 MB, free: 11.99 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.02127, allocations: 3.938 kB / 261.7 MB, free: 11.99 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007426/0.02201, allocations: 360 kB / 262 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.02209, allocations: 27.86 kB / 262.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.02211, allocations: 4 kB / 262.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.02231, allocations: 15.98 kB / 262.1 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.24e-05/0.02239, allocations: 23.89 kB / 262.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.02241, allocations: 4 kB / 262.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.02253, allocations: 124.9 kB / 262.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02253, allocations: 4.062 kB / 262.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000381/0.02291, allocations: 67.78 kB / 262.3 MB, free: 11.36 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 0.0001449/0.02306, allocations: 95.39 kB / 262.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006179/0.02368, allocations: 256.6 kB / 262.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02368, allocations: 0 / 262.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.024, allocations: 190.7 kB / 262.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.02433, allocations: 31.92 kB / 262.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008735/0.02521, allocations: 420.7 kB / 263.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.02535, allocations: 129.2 kB / 263.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.032e-05/0.02542, allocations: 9.484 kB / 263.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.02547, allocations: 16.5 kB / 263.4 MB, free: 10.15 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02547, allocations: 0 / 263.4 MB, free: 10.15 MB / 250.7 MB Notification: Performance of Templates: time 0.006767/0.03224, allocations: 2.409 MB / 265.8 MB, free: 7.77 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.558703132905066]