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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.00147/0.00147, allocations: 110.6 kB / 17.73 MB, free: 5.344 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.001394/0.001394, allocations: 194.9 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001244, allocations: 47.94 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09631/0.09756, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004062/0.1017, allocations: 2.459 MB / 377.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.103, allocations: 0.6551 MB / 378.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.1033, allocations: 4 kB / 378.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.1035, allocations: 35.64 kB / 378.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.1037, allocations: 71.33 kB / 378.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.104, allocations: 63.86 kB / 378.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.1044, allocations: 258.8 kB / 378.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.1047, allocations: 111.4 kB / 378.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1048, allocations: 103.6 kB / 378.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.105, allocations: 111.5 kB / 379 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.1051, allocations: 20 kB / 379 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.144e-05/0.1052, allocations: 27.98 kB / 379 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.1052, allocations: 43.84 kB / 379.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.1054, allocations: 115.5 kB / 379.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.1057, allocations: 271 kB / 379.4 MB, free: 240 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1057, allocations: 0 / 379.4 MB, free: 240 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1057, allocations: 0 / 379.4 MB, free: 240 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.1058, allocations: 0 / 379.4 MB, free: 240 kB / 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.2082/0.314, allocations: 0.5303 MB / 380 MB, free: 13.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.314, allocations: 13.48 kB / 380 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.3142, allocations: 27.34 kB / 380 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.3145, allocations: 233.4 kB / 380.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.3146, allocations: 15.94 kB / 380.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.3146, allocations: 23.41 kB / 380.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.3151, allocations: 230.5 kB / 380.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3151, allocations: 0 / 380.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.3151, allocations: 15.5 kB / 380.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3151, allocations: 6.281 kB / 380.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.3155, allocations: 156.8 kB / 380.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.3167, allocations: 0.8184 MB / 381.5 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.3171, allocations: 159.2 kB / 381.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.3173, allocations: 81.75 kB / 381.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.3174, allocations: 1.375 kB / 381.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.3174, allocations: 32.73 kB / 381.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.3174, allocations: 0 / 381.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008394/0.3182, allocations: 342.2 kB / 382.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.3183, allocations: 57.5 kB / 382.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.3185, allocations: 179.4 kB / 382.3 MB, free: 11.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3185, allocations: 32.2 kB / 382.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.898e-05/0.3186, allocations: 143.2 kB / 382.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.3186, allocations: 58.95 kB / 382.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.3187, allocations: 39 kB / 382.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.3188, allocations: 330.4 kB / 382.9 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.3189, allocations: 59.83 kB / 383 MB, free: 11.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.3191, allocations: 86.61 kB / 383.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.3194, allocations: 151.2 kB / 383.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3194, allocations: 4 kB / 383.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005236/0.32, allocations: 219.4 kB / 383.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.32, allocations: 9.188 kB / 383.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.32, allocations: 2.688 kB / 383.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.3202, allocations: 29.81 kB / 383.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.3204, allocations: 39.42 kB / 383.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008967/0.3213, allocations: 1.459 MB / 385 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.3215, allocations: 38.84 kB / 385 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3215, allocations: 4.938 kB / 385 MB, free: 9.676 MB / 318.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 8.834e-05/0.3216, allocations: 136 kB / 385.1 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.3216, allocations: 11.84 kB / 385.2 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.3217, allocations: 23.73 kB / 385.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3217, allocations: 2.453 kB / 385.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3217, allocations: 5.375 kB / 385.2 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3217, allocations: 1.312 kB / 385.2 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006818/0.3224, allocations: 0.5186 MB / 385.7 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3224, allocations: 8.25 kB / 385.7 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.3225, allocations: 25.59 kB / 385.7 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.3227, allocations: 31.78 kB / 385.8 MB, free: 9.102 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3227, allocations: 5.094 kB / 385.8 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008057/0.3235, allocations: 1.466 MB / 387.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3235, allocations: 1.156 kB / 387.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.3241, allocations: 352.9 kB / 387.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.3242, allocations: 107.2 kB / 387.7 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.3242, allocations: 9.891 kB / 387.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.3244, allocations: 17.48 kB / 387.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.3245, allocations: 23.31 kB / 387.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.3245, allocations: 3.688 kB / 387.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.3246, allocations: 127.4 kB / 387.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3246, allocations: 1 kB / 387.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003219/0.325, allocations: 57.41 kB / 387.9 MB, free: 7.199 MB / 318.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.0001019/0.3251, allocations: 108.8 kB / 388 MB, free: 7.098 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005735/0.3257, allocations: 256.8 kB / 388.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3257, allocations: 1.219 kB / 388.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.3259, allocations: 197.6 kB / 388.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.3263, allocations: 29.34 kB / 388.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009777/0.3273, allocations: 462.3 kB / 389 MB, free: 6.508 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.3275, allocations: 0.7349 MB / 389.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.762e-05/0.3276, allocations: 11.77 kB / 389.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.3277, allocations: 20.75 kB / 389.7 MB, free: 5.793 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3277, allocations: 0 / 389.7 MB, free: 5.793 MB / 318.1 MB Notification: Performance of Templates: time 0.007277/0.335, allocations: 2.462 MB / 392.2 MB, free: 5.605 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (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) 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) Reference file matches