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.001339/0.001339, allocations: 109.9 kB / 17.74 MB, free: 5.359 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.0015/0.0015, allocations: 189.5 kB / 18.67 MB, free: 4.434 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.405/1.405, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 39.94 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3165, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004002/0.3206, allocations: 2.505 MB / 403.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3219, allocations: 0.6428 MB / 404.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.3221, allocations: 4 kB / 404.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.3223, allocations: 27.66 kB / 404.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.3224, allocations: 71.39 kB / 404.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.3227, allocations: 63.86 kB / 404.7 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.323, allocations: 274.7 kB / 405 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.3233, allocations: 99.41 kB / 405.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.3234, allocations: 91.7 kB / 405.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.3236, allocations: 115.5 kB / 405.3 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.3237, allocations: 20 kB / 405.3 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.593e-05/0.3237, allocations: 28 kB / 405.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.3238, allocations: 47.84 kB / 405.4 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.3239, allocations: 119.4 kB / 405.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.3242, allocations: 252.3 kB / 405.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3243, allocations: 0 / 405.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3243, allocations: 3.938 kB / 405.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.3243, allocations: 0 / 405.7 MB, free: 4.512 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.000952/0.3252, allocations: 0.5459 MB / 406.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3253, allocations: 11.89 kB / 406.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.3254, allocations: 32.59 kB / 406.3 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.3257, allocations: 236.3 kB / 406.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.3258, allocations: 16.81 kB / 406.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.3258, allocations: 24.36 kB / 406.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.3263, allocations: 230.2 kB / 406.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3263, allocations: 0 / 406.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.3263, allocations: 8 kB / 406.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.3263, allocations: 4 kB / 406.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003684/0.3267, allocations: 169.6 kB / 407 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.328, allocations: 0.8048 MB / 407.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.3284, allocations: 158.6 kB / 407.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.3286, allocations: 80.81 kB / 408 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.3286, allocations: 4 kB / 408 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.3286, allocations: 34.56 kB / 408.1 MB, free: 1.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.3287, allocations: 0 / 408.1 MB, free: 1.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009343/0.3296, allocations: 339.2 kB / 408.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.3296, allocations: 55.41 kB / 408.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.3299, allocations: 183.1 kB / 408.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.3299, allocations: 29.7 kB / 408.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.33, allocations: 144.1 kB / 408.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.3301, allocations: 59.27 kB / 408.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.3302, allocations: 41.64 kB / 408.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3303, allocations: 330.8 kB / 409.2 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.3304, allocations: 51.97 kB / 409.3 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.3306, allocations: 97.56 kB / 409.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.3309, allocations: 140.2 kB / 409.5 MB, free: 444 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3309, allocations: 0 / 409.5 MB, free: 444 kB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004549/0.3314, allocations: 226 kB / 409.7 MB, free: 208 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3314, allocations: 4 kB / 409.7 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.3314, allocations: 4 kB / 409.7 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.3316, allocations: 32.84 kB / 409.8 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.3318, allocations: 39.84 kB / 409.8 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.3331, allocations: 1.469 MB / 411.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.3333, allocations: 35.66 kB / 411.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.3333, allocations: 12.06 kB / 411.3 MB, free: 14.46 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.0001459/0.3335, allocations: 125.8 kB / 411.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.3335, allocations: 15.81 kB / 411.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.3336, allocations: 25.86 kB / 411.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3336, allocations: 4 kB / 411.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3336, allocations: 3.938 kB / 411.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3336, allocations: 3.938 kB / 411.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00078/0.3344, allocations: 0.507 MB / 412 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3344, allocations: 0 / 412 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.3346, allocations: 35.91 kB / 412 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.3347, allocations: 24.84 kB / 412.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3347, allocations: 8 kB / 412.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.3358, allocations: 1.473 MB / 413.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3358, allocations: 3.938 kB / 413.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.3364, allocations: 358.3 kB / 413.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-05/0.3365, allocations: 108.9 kB / 414 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.3366, allocations: 0 / 414 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.3368, allocations: 24.05 kB / 414 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/0.3369, allocations: 19.97 kB / 414 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3369, allocations: 4 kB / 414 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.337, allocations: 132.3 kB / 414.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.337, allocations: 0 / 414.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003376/0.3373, allocations: 55.84 kB / 414.2 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.000123/0.3375, allocations: 103.2 kB / 414.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005854/0.3381, allocations: 274.4 kB / 414.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3381, allocations: 0 / 414.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.3383, allocations: 186.6 kB / 414.8 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.0003347/0.3387, allocations: 32.17 kB / 414.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000887/0.3396, allocations: 488 kB / 415.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.3399, allocations: 0.7359 MB / 416 MB, free: 9.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.835e-05/0.34, allocations: 19.44 kB / 416 MB, free: 9.391 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.34, allocations: 7.875 kB / 416.1 MB, free: 9.383 MB / 334.1 MB Notification: Performance of Templates: time 0.005562/0.3456, allocations: 3.178 MB / 419.2 MB, free: 6.215 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