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.001418/0.001418, allocations: 97.03 kB / 17.06 MB, free: 6.121 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.001638/0.001638, allocations: 194.9 kB / 17.99 MB, free: 5.199 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.289/1.289, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 43.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2771, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003999/0.2811, allocations: 2.508 MB / 403.2 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2823, allocations: 0.6389 MB / 403.9 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.2825, allocations: 4 kB / 403.9 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.2827, allocations: 35.64 kB / 403.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.2829, allocations: 67.41 kB / 404 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.2833, allocations: 67.86 kB / 404 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005275/0.2838, allocations: 274.7 kB / 404.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003023/0.2841, allocations: 95.42 kB / 404.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.2843, allocations: 95.69 kB / 404.5 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.2846, allocations: 111.5 kB / 404.6 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.2846, allocations: 24 kB / 404.6 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.61e-05/0.2847, allocations: 20 kB / 404.6 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.2848, allocations: 47.84 kB / 404.7 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.2849, allocations: 123.4 kB / 404.8 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.2852, allocations: 252.3 kB / 405 MB, free: 4.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2852, allocations: 0 / 405 MB, free: 4.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.2852, allocations: 0 / 405 MB, free: 4.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.2853, allocations: 7.938 kB / 405.1 MB, free: 4.508 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.000964/0.2862, allocations: 0.5381 MB / 405.6 MB, free: 3.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2863, allocations: 11.89 kB / 405.6 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.2864, allocations: 32.59 kB / 405.6 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.2868, allocations: 236.3 kB / 405.9 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2868, allocations: 16.81 kB / 405.9 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.2868, allocations: 24.38 kB / 405.9 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.2873, allocations: 230.2 kB / 406.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2873, allocations: 0 / 406.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.2873, allocations: 15.98 kB / 406.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2873, allocations: 7.938 kB / 406.2 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.2877, allocations: 157.6 kB / 406.3 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.2891, allocations: 0.8127 MB / 407.1 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.2895, allocations: 154.6 kB / 407.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.2897, allocations: 80.81 kB / 407.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.2897, allocations: 4 kB / 407.4 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.2898, allocations: 38.56 kB / 407.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.414e-06/0.2898, allocations: 0 / 407.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009086/0.2907, allocations: 335.2 kB / 407.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.2907, allocations: 51.41 kB / 407.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.2909, allocations: 191.1 kB / 408 MB, free: 1.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.2909, allocations: 25.7 kB / 408 MB, free: 1.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.2911, allocations: 148.1 kB / 408.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.2911, allocations: 55.27 kB / 408.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/0.2912, allocations: 45.64 kB / 408.2 MB, free: 1.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2913, allocations: 326.8 kB / 408.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.2915, allocations: 55.95 kB / 408.6 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.2916, allocations: 89.95 kB / 408.7 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.2919, allocations: 142.5 kB / 408.8 MB, free: 448 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2919, allocations: 0 / 408.8 MB, free: 448 kB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004533/0.2924, allocations: 222 kB / 409 MB, free: 216 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2924, allocations: 8 kB / 409 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2924, allocations: 0 / 409 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/0.2926, allocations: 40.91 kB / 409.1 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.2928, allocations: 35.91 kB / 409.1 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.294, allocations: 1.473 MB / 410.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.2942, allocations: 35.67 kB / 410.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.2942, allocations: 4 kB / 410.6 MB, free: 14.47 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.0001321/0.2944, allocations: 129.9 kB / 410.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.2944, allocations: 19.81 kB / 410.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.2945, allocations: 21.86 kB / 410.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2945, allocations: 4 kB / 410.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2945, allocations: 3.938 kB / 410.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2945, allocations: 3.938 kB / 410.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007259/0.2952, allocations: 0.5139 MB / 411.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2952, allocations: 4 kB / 411.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.2954, allocations: 31.86 kB / 411.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001152/0.2955, allocations: 32.84 kB / 411.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.2955, allocations: 0 / 411.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.2967, allocations: 1.477 MB / 412.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2967, allocations: 3.938 kB / 412.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006128/0.2973, allocations: 352.1 kB / 413.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.2974, allocations: 104.8 kB / 413.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.2975, allocations: 0 / 413.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.2977, allocations: 23.97 kB / 413.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.2977, allocations: 15.98 kB / 413.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.2978, allocations: 4 kB / 413.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.2979, allocations: 136.4 kB / 413.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2979, allocations: 0 / 413.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003233/0.2982, allocations: 55.84 kB / 413.6 MB, free: 11.3 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.0001543/0.2984, allocations: 107.2 kB / 413.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005888/0.299, allocations: 270.7 kB / 413.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.299, allocations: 0 / 413.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.2993, allocations: 190.6 kB / 414.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.2996, allocations: 26.28 kB / 414.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009013/0.3005, allocations: 464.8 kB / 414.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.3009, allocations: 0.7359 MB / 415.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.897e-05/0.301, allocations: 17.48 kB / 415.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.301, allocations: 19.38 kB / 415.4 MB, free: 9.402 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.301, allocations: 0 / 415.4 MB, free: 9.402 MB / 334.1 MB Notification: Performance of Templates: time 0.006035/0.3071, allocations: 2.453 MB / 417.8 MB, free: 6.977 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/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