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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 106.9 kB / 17.74 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 180.5 kB / 18.66 MB, free: 4.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 51.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3032, allocations: 49.43 MB / 401.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003596/0.3068, allocations: 2.498 MB / 403.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3079, allocations: 0.635 MB / 404.5 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.308, allocations: 0 / 404.5 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.3082, allocations: 35.64 kB / 404.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.3083, allocations: 67.34 kB / 404.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.3086, allocations: 75.84 kB / 404.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.3089, allocations: 266.8 kB / 405 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.3091, allocations: 95.41 kB / 405.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3092, allocations: 107.6 kB / 405.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3094, allocations: 103.5 kB / 405.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.3094, allocations: 20 kB / 405.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.471e-05/0.3095, allocations: 28 kB / 405.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.3096, allocations: 51.83 kB / 405.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3097, allocations: 123.3 kB / 405.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.31, allocations: 252.4 kB / 405.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.31, allocations: 0 / 405.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.31, allocations: 0 / 405.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.31, allocations: 0 / 405.7 MB, free: 4.68 MB / 318.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.0009272/0.3109, allocations: 0.5459 MB / 406.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.311, allocations: 11.89 kB / 406.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.3111, allocations: 32.59 kB / 406.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.3114, allocations: 236.3 kB / 406.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.3114, allocations: 20.81 kB / 406.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.3115, allocations: 16.38 kB / 406.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.3119, allocations: 234.1 kB / 406.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3119, allocations: 4 kB / 406.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.312, allocations: 8 kB / 406.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.312, allocations: 8 kB / 406.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.3124, allocations: 153.7 kB / 407 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.3136, allocations: 0.8126 MB / 407.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.314, allocations: 170.5 kB / 408 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.3142, allocations: 76.83 kB / 408 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.3142, allocations: 0 / 408 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.3142, allocations: 34.56 kB / 408.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 8.92e-07/0.3142, allocations: 0 / 408.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008315/0.3151, allocations: 335.2 kB / 408.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.3151, allocations: 55.41 kB / 408.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3153, allocations: 183.1 kB / 408.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.3153, allocations: 33.7 kB / 408.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.3154, allocations: 140.1 kB / 408.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.3154, allocations: 67.25 kB / 408.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.3155, allocations: 33.72 kB / 408.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3156, allocations: 334.8 kB / 409.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.3158, allocations: 51.97 kB / 409.3 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.3159, allocations: 89.56 kB / 409.4 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.3162, allocations: 140.2 kB / 409.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3162, allocations: 0 / 409.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004422/0.3167, allocations: 232.8 kB / 409.7 MB, free: 380 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3167, allocations: 4 kB / 409.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3167, allocations: 4 kB / 409.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.3169, allocations: 28.83 kB / 409.8 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.3171, allocations: 35.98 kB / 409.8 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.3182, allocations: 1.465 MB / 411.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.3184, allocations: 43.77 kB / 411.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.3184, allocations: 4 kB / 411.3 MB, free: 14.64 MB / 334.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.000116/0.3186, allocations: 133.9 kB / 411.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.3186, allocations: 23.73 kB / 411.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.3187, allocations: 25.88 kB / 411.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3187, allocations: 4 kB / 411.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3187, allocations: 4 kB / 411.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.3187, allocations: 3.938 kB / 411.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006802/0.3194, allocations: 0.518 MB / 412 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3194, allocations: 0 / 412 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.3195, allocations: 23.98 kB / 412 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/0.3197, allocations: 32.83 kB / 412.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.3197, allocations: 8 kB / 412.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.3207, allocations: 1.465 MB / 413.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3207, allocations: 3.938 kB / 413.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.3213, allocations: 348 kB / 413.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.3214, allocations: 104.9 kB / 414 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.3215, allocations: 8.125 kB / 414 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.3217, allocations: 19.97 kB / 414 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.3217, allocations: 20.11 kB / 414 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.3217, allocations: 4 kB / 414 MB, free: 11.65 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.84e-05/0.3218, allocations: 128.2 kB / 414.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3218, allocations: 0 / 414.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.3222, allocations: 63.84 kB / 414.2 MB, free: 11.46 MB / 334.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.0001121/0.3223, allocations: 107.2 kB / 414.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005118/0.3228, allocations: 266.5 kB / 414.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3228, allocations: 4 kB / 414.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.3231, allocations: 194.8 kB / 414.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.3234, allocations: 31.92 kB / 414.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007756/0.3242, allocations: 480 kB / 415.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3245, allocations: 0.7398 MB / 416 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.3245, allocations: 15.44 kB / 416 MB, free: 9.555 MB / 334.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3246, allocations: 3.938 kB / 416 MB, free: 9.551 MB / 334.1 MB Notification: Performance of Templates: time 0.004675/0.3292, allocations: 3.158 MB / 419.2 MB, free: 6.402 MB / 334.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches