Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009263/0.0009264, allocations: 175.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008018/0.0008018, allocations: 91.45 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003048, allocations: 12 kB / 352.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2108, allocations: 50.41 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08845/0.2993, allocations: 79.49 MB / 482.2 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.2995, allocations: 67.97 kB / 482.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01008/0.3096, allocations: 3.943 MB / 486.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3096, allocations: 0 / 486.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.3097, allocations: 4 kB / 486.3 MB, free: 12.84 MB / 362.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.000835/0.3105, allocations: 0.503 MB / 486.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3106, allocations: 12.03 kB / 486.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.3107, allocations: 32.58 kB / 486.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.311, allocations: 224.8 kB / 487 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.311, allocations: 16.81 kB / 487 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.311, allocations: 24.31 kB / 487.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.3115, allocations: 238.1 kB / 487.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3115, allocations: 4 kB / 487.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.3115, allocations: 4 kB / 487.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.3115, allocations: 8 kB / 487.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.3119, allocations: 165.6 kB / 487.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.3133, allocations: 0.8204 MB / 488.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.3136, allocations: 170.5 kB / 488.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.3138, allocations: 80.83 kB / 488.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.3139, allocations: 4 kB / 488.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3139, allocations: 34.56 kB / 488.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.644e-06/0.3139, allocations: 4 kB / 488.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008287/0.3147, allocations: 352.2 kB / 488.9 MB, free: 9.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.3148, allocations: 55.39 kB / 489 MB, free: 9.891 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.3149, allocations: 179.1 kB / 489.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.315, allocations: 25.7 kB / 489.2 MB, free: 9.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.3151, allocations: 144.2 kB / 489.3 MB, free: 9.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.3151, allocations: 59.25 kB / 489.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/0.3151, allocations: 12 kB / 489.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3153, allocations: 326.8 kB / 489.7 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3154, allocations: 55.97 kB / 489.8 MB, free: 9.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.3156, allocations: 88.89 kB / 489.8 MB, free: 8.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.3159, allocations: 151.2 kB / 490 MB, free: 8.812 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3159, allocations: 0 / 490 MB, free: 8.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004395/0.3163, allocations: 212.7 kB / 490.2 MB, free: 8.598 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3164, allocations: 12.03 kB / 490.2 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3164, allocations: 7.984 kB / 490.2 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/0.3165, allocations: 32.83 kB / 490.3 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.3167, allocations: 39.92 kB / 490.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.3178, allocations: 1.37 MB / 491.7 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.318, allocations: 27.83 kB / 491.7 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.318, allocations: 12.06 kB / 491.7 MB, free: 6.961 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.3181, allocations: 133.8 kB / 491.8 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.3182, allocations: 19.75 kB / 491.8 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.3182, allocations: 29.8 kB / 491.9 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3182, allocations: 0 / 491.9 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3183, allocations: 4 kB / 491.9 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3183, allocations: 0 / 491.9 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000715/0.319, allocations: 0.5297 MB / 492.4 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.319, allocations: 0 / 492.4 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.3192, allocations: 35.92 kB / 492.4 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/0.3193, allocations: 36.83 kB / 492.5 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.3193, allocations: 7.938 kB / 492.5 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009777/0.3203, allocations: 1.357 MB / 493.8 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3203, allocations: 0 / 493.8 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/0.3209, allocations: 372 kB / 494.2 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.321, allocations: 104.9 kB / 494.3 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.321, allocations: 4 kB / 494.3 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.3212, allocations: 32.03 kB / 494.3 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.3213, allocations: 15.97 kB / 494.4 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3213, allocations: 11.94 kB / 494.4 MB, free: 4.047 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.819e-05/0.3214, allocations: 119.2 kB / 494.5 MB, free: 3.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3214, allocations: 4 kB / 494.5 MB, free: 3.926 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002931/0.3217, allocations: 59.84 kB / 494.6 MB, free: 3.867 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001136/0.3218, allocations: 103.2 kB / 494.7 MB, free: 3.758 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000508/0.3224, allocations: 266.6 kB / 494.9 MB, free: 3.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3224, allocations: 0 / 494.9 MB, free: 3.484 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.3227, allocations: 206.7 kB / 495.1 MB, free: 3.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.323, allocations: 27.98 kB / 495.1 MB, free: 3.242 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007767/0.3238, allocations: 0.5558 MB / 495.7 MB, free: 2.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.3241, allocations: 0.74 MB / 496.4 MB, free: 1.895 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.658e-05/0.3242, allocations: 17.55 kB / 496.5 MB, free: 1.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.3243, allocations: 15.44 kB / 496.5 MB, free: 1.863 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3243, allocations: 3.938 kB / 496.5 MB, free: 1.859 MB / 362.7 MB Notification: Performance of Templates: time 0.005095/0.3294, allocations: 2.185 MB / 498.7 MB, free: 15.7 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches