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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 209.4 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 61.8 kB / 347.7 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2861, allocations: 49.16 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003283/0.2893, allocations: 2.335 MB / 399.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009997/0.2903, allocations: 0.6251 MB / 399.8 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.2905, allocations: 3.75 kB / 399.8 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.2906, allocations: 41.72 kB / 399.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.2907, allocations: 61.12 kB / 399.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.291, allocations: 70.45 kB / 400 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.2912, allocations: 265.1 kB / 400.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.2914, allocations: 77.02 kB / 400.3 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.2915, allocations: 97.52 kB / 400.4 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.2917, allocations: 94.23 kB / 400.5 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.2917, allocations: 24.78 kB / 400.5 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.403e-05/0.2918, allocations: 23.97 kB / 400.5 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.2918, allocations: 50.23 kB / 400.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.158e-05/0.2919, allocations: 101.2 kB / 400.7 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.2923, allocations: 256.2 kB / 400.9 MB, free: 6.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2923, allocations: 0 / 400.9 MB, free: 6.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2923, allocations: 0 / 400.9 MB, free: 6.836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.2923, allocations: 0 / 400.9 MB, free: 6.836 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.0008623/0.2931, allocations: 484.8 kB / 401.4 MB, free: 6.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2932, allocations: 17.52 kB / 401.4 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.2933, allocations: 32.09 kB / 401.5 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.2935, allocations: 189 kB / 401.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.2936, allocations: 14.22 kB / 401.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.2936, allocations: 22.38 kB / 401.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.294, allocations: 257.9 kB / 401.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.294, allocations: 1.828 kB / 401.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.2941, allocations: 9.219 kB / 401.9 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2941, allocations: 5.531 kB / 401.9 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.2945, allocations: 162.2 kB / 402.1 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.2956, allocations: 0.6873 MB / 402.8 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.2959, allocations: 154.3 kB / 402.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.2961, allocations: 71.86 kB / 403 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.2961, allocations: 5.406 kB / 403 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.2962, allocations: 33.81 kB / 403.1 MB, free: 5.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.2962, allocations: 0 / 403.1 MB, free: 5.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007991/0.297, allocations: 263.1 kB / 403.3 MB, free: 5.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.297, allocations: 55.42 kB / 403.4 MB, free: 5.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2971, allocations: 158.7 kB / 403.5 MB, free: 5.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.2971, allocations: 31.02 kB / 403.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.2972, allocations: 151.9 kB / 403.7 MB, free: 4.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.2972, allocations: 64.48 kB / 403.8 MB, free: 4.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.2972, allocations: 42.81 kB / 403.8 MB, free: 4.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.2973, allocations: 321.9 kB / 404.1 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.2974, allocations: 56.69 kB / 404.2 MB, free: 4.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.2976, allocations: 94.58 kB / 404.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.2979, allocations: 144.9 kB / 404.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2979, allocations: 0 / 404.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004486/0.2983, allocations: 215.6 kB / 404.6 MB, free: 4.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2983, allocations: 9.156 kB / 404.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2983, allocations: 0.8438 kB / 404.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.2985, allocations: 29.62 kB / 404.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.2987, allocations: 43.97 kB / 404.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009043/0.2996, allocations: 1.332 MB / 406 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.2998, allocations: 29.5 kB / 406.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.2998, allocations: 5.016 kB / 406.1 MB, free: 2.926 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 9.214e-05/0.2999, allocations: 140.6 kB / 406.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.2999, allocations: 15.39 kB / 406.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.3, allocations: 26.58 kB / 406.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3, allocations: 1.406 kB / 406.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3, allocations: 5.406 kB / 406.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3, allocations: 0.9375 kB / 406.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.3006, allocations: 446 kB / 406.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3006, allocations: 0 / 406.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.3007, allocations: 33.36 kB / 406.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.3008, allocations: 33.27 kB / 406.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3008, allocations: 3.938 kB / 406.8 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000752/0.3016, allocations: 1.327 MB / 408.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3016, allocations: 0 / 408.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/0.3021, allocations: 359.9 kB / 408.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.3022, allocations: 35.03 kB / 408.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.3022, allocations: 1.375 kB / 408.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.3024, allocations: 21.98 kB / 408.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.3025, allocations: 19.16 kB / 408.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3025, allocations: 7.547 kB / 408.5 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.511e-05/0.3025, allocations: 117.4 kB / 408.6 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3025, allocations: 4.062 kB / 408.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003233/0.3029, allocations: 65.22 kB / 408.7 MB, free: 0.7539 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 8.99e-05/0.303, allocations: 102.4 kB / 408.8 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004832/0.3034, allocations: 247.3 kB / 409 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3034, allocations: 0 / 409 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.3037, allocations: 187.5 kB / 409.2 MB, free: 384 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.304, allocations: 25.69 kB / 409.2 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007208/0.3047, allocations: 466.9 kB / 409.7 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.3049, allocations: 125.1 kB / 409.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.382e-05/0.305, allocations: 11.44 kB / 409.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.305, allocations: 14.47 kB / 409.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.305, allocations: 4 kB / 409.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of Templates: time 0.006667/0.3117, allocations: 2.604 MB / 412.5 MB, free: 15.11 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.827634742483497]