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.001038/0.001038, allocations: 100.5 kB / 18.35 MB, free: 4.648 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.001209/0.001209, allocations: 191 kB / 19.29 MB, free: 3.715 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.417/1.417, allocations: 205.1 MB / 225.2 MB, free: 12.29 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.001371/0.001371, allocations: 51.92 kB / 282.1 MB, free: 2.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.08729, allocations: 46.63 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003449/0.09077, allocations: 2.466 MB / 331.2 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009242/0.09172, allocations: 0.6398 MB / 331.8 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.844e-05/0.09182, allocations: 4 kB / 331.8 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.09197, allocations: 31.66 kB / 331.9 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.0921, allocations: 71.33 kB / 331.9 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.09233, allocations: 63.92 kB / 332 MB, free: 476 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.09259, allocations: 270.7 kB / 332.3 MB, free: 204 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.09278, allocations: 99.41 kB / 332.4 MB, free: 108 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.09289, allocations: 103.6 kB / 332.5 MB, free: 4 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.09304, allocations: 107.7 kB / 332.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.09308, allocations: 20 kB / 332.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-05/0.09316, allocations: 24 kB / 332.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/0.0932, allocations: 51.84 kB / 332.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.09331, allocations: 119.4 kB / 332.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.09356, allocations: 258.9 kB / 333 MB, free: 15.43 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.09357, allocations: 0 / 333 MB, free: 15.43 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.123e-06/0.09358, allocations: 0 / 333 MB, free: 15.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.09358, allocations: 3.938 kB / 333 MB, free: 15.43 MB / 286.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.0008403/0.09443, allocations: 0.5459 MB / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.09447, allocations: 11.89 kB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.0946, allocations: 28.66 kB / 333.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.09491, allocations: 236.3 kB / 333.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.09494, allocations: 12.81 kB / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.09499, allocations: 24.38 kB / 333.9 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.0954, allocations: 234.1 kB / 334.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.09542, allocations: 0 / 334.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.09545, allocations: 12 kB / 334.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.09546, allocations: 4 kB / 334.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.09581, allocations: 153.7 kB / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.09696, allocations: 0.8282 MB / 335.1 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.09732, allocations: 154.6 kB / 335.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.09749, allocations: 84.7 kB / 335.3 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.09753, allocations: 3.938 kB / 335.3 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.09756, allocations: 46.5 kB / 335.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.213e-06/0.09756, allocations: 0 / 335.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007781/0.09835, allocations: 327.3 kB / 335.7 MB, free: 12.54 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.09839, allocations: 63.34 kB / 335.8 MB, free: 12.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.09854, allocations: 174.6 kB / 335.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.09858, allocations: 29.7 kB / 336 MB, free: 12.24 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.09868, allocations: 148.1 kB / 336.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.09874, allocations: 55.33 kB / 336.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.09881, allocations: 37.7 kB / 336.2 MB, free: 11.99 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.09893, allocations: 330.8 kB / 336.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.09908, allocations: 47.97 kB / 336.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.09925, allocations: 96.25 kB / 336.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.09952, allocations: 151.2 kB / 336.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.09954, allocations: 0 / 336.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004126/0.09995, allocations: 214.1 kB / 337 MB, free: 11.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.09998, allocations: 4 kB / 337 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.09999, allocations: 4 kB / 337 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.1002, allocations: 40.89 kB / 337.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.1003, allocations: 35.92 kB / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.1014, allocations: 1.473 MB / 338.6 MB, free: 9.422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.1016, allocations: 31.77 kB / 338.6 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1016, allocations: 4 kB / 338.6 MB, free: 9.387 MB / 286.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.0001029/0.1017, allocations: 137.8 kB / 338.8 MB, free: 9.242 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.1018, allocations: 15.81 kB / 338.8 MB, free: 9.227 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.1018, allocations: 21.88 kB / 338.8 MB, free: 9.207 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.1018, allocations: 4 kB / 338.8 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1018, allocations: 0 / 338.8 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1018, allocations: 7.922 kB / 338.8 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006767/0.1025, allocations: 0.5185 MB / 339.3 MB, free: 8.617 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1025, allocations: 8 kB / 339.3 MB, free: 8.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.1027, allocations: 23.98 kB / 339.4 MB, free: 8.586 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/0.1028, allocations: 32.83 kB / 339.4 MB, free: 8.551 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1028, allocations: 4 kB / 339.4 MB, free: 8.547 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009679/0.1038, allocations: 1.457 MB / 340.8 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1038, allocations: 7.922 kB / 340.9 MB, free: 6.945 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.1044, allocations: 348.1 kB / 341.2 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.537e-05/0.1045, allocations: 104.9 kB / 341.3 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.1045, allocations: 7.984 kB / 341.3 MB, free: 6.457 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.1047, allocations: 19.92 kB / 341.3 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-05/0.1048, allocations: 23.91 kB / 341.3 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1048, allocations: 8.062 kB / 341.4 MB, free: 6.406 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.394e-05/0.1049, allocations: 128.3 kB / 341.5 MB, free: 6.281 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1049, allocations: 0 / 341.5 MB, free: 6.281 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.1052, allocations: 51.91 kB / 341.5 MB, free: 6.23 MB / 286.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.0001113/0.1053, allocations: 111.1 kB / 341.6 MB, free: 6.109 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005167/0.1058, allocations: 258.7 kB / 341.9 MB, free: 5.844 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1059, allocations: 0 / 341.9 MB, free: 5.844 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.1061, allocations: 191.4 kB / 342.1 MB, free: 5.645 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.1064, allocations: 35.92 kB / 342.1 MB, free: 5.609 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006981/0.1071, allocations: 454.6 kB / 342.6 MB, free: 5.141 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1074, allocations: 0.7359 MB / 343.3 MB, free: 4.375 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.913e-05/0.1075, allocations: 21.48 kB / 343.3 MB, free: 4.355 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.1075, allocations: 15.44 kB / 343.3 MB, free: 4.34 MB / 286.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1075, allocations: 0 / 343.3 MB, free: 4.34 MB / 286.1 MB Notification: Performance of Templates: time 0.005258/0.1128, allocations: 2.433 MB / 345.8 MB, free: 1.914 MB / 286.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/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