Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.42/1.42, allocations: 230.4 MB / 251.1 MB, free: 8.449 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 71.83 kB / 368.9 MB, free: 6.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2478, allocations: 53.31 MB / 422.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003804/0.2516, allocations: 2.521 MB / 424.8 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2527, allocations: 0.6895 MB / 425.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.2528, allocations: 4 kB / 425.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.253, allocations: 27.66 kB / 425.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.2531, allocations: 71.34 kB / 425.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.2534, allocations: 71.84 kB / 425.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000319/0.2537, allocations: 258.8 kB / 425.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.2539, allocations: 75.42 kB / 426 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.254, allocations: 95.66 kB / 426.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.2542, allocations: 115.5 kB / 426.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.2542, allocations: 20 kB / 426.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.2e-05/0.2543, allocations: 24 kB / 426.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.2543, allocations: 43.84 kB / 426.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.2544, allocations: 123.4 kB / 426.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.2548, allocations: 270.3 kB / 426.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2548, allocations: 0 / 426.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2548, allocations: 0 / 426.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.2548, allocations: 0 / 426.6 MB, free: 3.441 MB / 334.1 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.000981/0.2558, allocations: 0.5524 MB / 427.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.2558, allocations: 8.031 kB / 427.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.2559, allocations: 24.8 kB / 427.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.2562, allocations: 232.4 kB / 427.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.2563, allocations: 16.81 kB / 427.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.2563, allocations: 20.38 kB / 427.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.2568, allocations: 242.1 kB / 427.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.2568, allocations: 0 / 427.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.2568, allocations: 4 kB / 427.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2568, allocations: 4 kB / 427.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.2572, allocations: 161.6 kB / 427.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.2585, allocations: 0.8207 MB / 428.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.2589, allocations: 154.6 kB / 428.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.2591, allocations: 76.75 kB / 428.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.2591, allocations: 0 / 428.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.2591, allocations: 38.56 kB / 429 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.01e-07/0.2591, allocations: 0 / 429 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008517/0.26, allocations: 338.2 kB / 429.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.26, allocations: 55.41 kB / 429.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.2602, allocations: 174.7 kB / 429.5 MB, free: 328 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.2602, allocations: 33.7 kB / 429.6 MB, free: 288 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.2603, allocations: 156.1 kB / 429.7 MB, free: 128 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.2604, allocations: 51.55 kB / 429.8 MB, free: 76 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.506e-05/0.2605, allocations: 41.7 kB / 429.8 MB, free: 28 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.2606, allocations: 326.8 kB / 430.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.2608, allocations: 51.97 kB / 430.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.261, allocations: 97.38 kB / 430.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.2613, allocations: 144.2 kB / 430.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2613, allocations: 0 / 430.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004817/0.2618, allocations: 225.1 kB / 430.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2618, allocations: 4 kB / 430.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2618, allocations: 3.938 kB / 430.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.262, allocations: 40.91 kB / 430.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.2621, allocations: 35.97 kB / 430.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.2634, allocations: 1.458 MB / 432.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.2636, allocations: 35.83 kB / 432.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.2637, allocations: 12 kB / 432.2 MB, free: 13.42 MB / 350.1 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.000124/0.2638, allocations: 130 kB / 432.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.2638, allocations: 27.89 kB / 432.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.818e-05/0.2639, allocations: 25.86 kB / 432.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2639, allocations: 0 / 432.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.2639, allocations: 4 kB / 432.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.2639, allocations: 3.938 kB / 432.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007819/0.2647, allocations: 0.5108 MB / 432.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2647, allocations: 0 / 432.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.2648, allocations: 31.97 kB / 432.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/0.2649, allocations: 32.84 kB / 433 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.265, allocations: 4 kB / 433 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.2662, allocations: 1.457 MB / 434.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.2662, allocations: 7.969 kB / 434.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006442/0.2669, allocations: 352.2 kB / 434.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.938e-05/0.2669, allocations: 100.9 kB / 434.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.267, allocations: 4 kB / 434.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.2672, allocations: 19.98 kB / 434.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.2672, allocations: 15.97 kB / 434.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.2672, allocations: 8.141 kB / 434.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.2674, allocations: 136.3 kB / 435.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2674, allocations: 0 / 435.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000336/0.2677, allocations: 59.89 kB / 435.1 MB, free: 10.25 MB / 350.1 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.0001303/0.2678, allocations: 107.2 kB / 435.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005575/0.2684, allocations: 266.7 kB / 435.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2684, allocations: 0 / 435.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.2687, allocations: 182.6 kB / 435.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.269, allocations: 42.38 kB / 435.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008193/0.2698, allocations: 461.9 kB / 436.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.2702, allocations: 0.7359 MB / 436.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.643e-05/0.2702, allocations: 17.55 kB / 436.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.2703, allocations: 15.44 kB / 436.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2703, allocations: 0 / 436.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of Templates: time 0.006396/0.2767, allocations: 2.51 MB / 439.4 MB, free: 5.875 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches