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.001407/0.001407, allocations: 102.6 kB / 21.93 MB, free: 5.203 MB / 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.001591/0.001591, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.495/1.495, allocations: 207.7 MB / 236.1 MB, free: 9.785 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.001989/0.001989, allocations: 55.91 kB / 348.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2836, allocations: 49.16 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003384/0.287, allocations: 2.339 MB / 399.9 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.288, allocations: 0.627 MB / 400.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.2881, allocations: 3.594 kB / 400.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.2883, allocations: 33.64 kB / 400.6 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.2884, allocations: 69.09 kB / 400.7 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.2887, allocations: 68.8 kB / 400.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.2889, allocations: 262.1 kB / 401 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.2891, allocations: 74.2 kB / 401.1 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.2892, allocations: 97.44 kB / 401.1 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.2894, allocations: 97.7 kB / 401.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.2894, allocations: 20.69 kB / 401.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-05/0.2895, allocations: 27.72 kB / 401.3 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.2896, allocations: 50.81 kB / 401.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.787e-05/0.2897, allocations: 100.9 kB / 401.4 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.29, allocations: 263.1 kB / 401.7 MB, free: 6.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.29, allocations: 0 / 401.7 MB, free: 6.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.29, allocations: 4 kB / 401.7 MB, free: 6.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.014e-05/0.29, allocations: 1.469 kB / 401.7 MB, free: 6.828 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.0008784/0.2909, allocations: 483.7 kB / 402.2 MB, free: 6.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2909, allocations: 12.92 kB / 402.2 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.2911, allocations: 31.88 kB / 402.2 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.2913, allocations: 177.6 kB / 402.4 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.2914, allocations: 17.78 kB / 402.4 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.2914, allocations: 22.89 kB / 402.4 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.2918, allocations: 258.2 kB / 402.7 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.2918, allocations: 0.6094 kB / 402.7 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.2919, allocations: 14.62 kB / 402.7 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.2919, allocations: 5.75 kB / 402.7 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.2922, allocations: 153.6 kB / 402.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.2933, allocations: 0.6922 MB / 403.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.2937, allocations: 150.2 kB / 403.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.2938, allocations: 75.17 kB / 403.8 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.2939, allocations: 2.625 kB / 403.8 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.2939, allocations: 35.97 kB / 403.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.913e-06/0.2939, allocations: 0 / 403.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008231/0.2947, allocations: 260.8 kB / 404.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.2947, allocations: 53.88 kB / 404.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.2949, allocations: 164 kB / 404.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.2949, allocations: 26.77 kB / 404.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.295, allocations: 158.8 kB / 404.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.295, allocations: 61.75 kB / 404.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.2951, allocations: 37.97 kB / 404.5 MB, free: 4.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.2951, allocations: 328.1 kB / 404.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2953, allocations: 56.94 kB / 404.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.2954, allocations: 89.19 kB / 405 MB, free: 4.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.2957, allocations: 148.3 kB / 405.2 MB, free: 4.355 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.2957, allocations: 1.125 kB / 405.2 MB, free: 4.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004373/0.2961, allocations: 213.4 kB / 405.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2961, allocations: 11 kB / 405.4 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2961, allocations: 0.7969 kB / 405.4 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.2963, allocations: 45.78 kB / 405.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.2965, allocations: 31.84 kB / 405.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008359/0.2973, allocations: 1.332 MB / 406.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.2975, allocations: 30.05 kB / 406.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.2975, allocations: 8.938 kB / 406.8 MB, free: 2.922 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.18e-05/0.2976, allocations: 139.3 kB / 407 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.2976, allocations: 15.95 kB / 407 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.2977, allocations: 18.5 kB / 407 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2977, allocations: 2.656 kB / 407 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2977, allocations: 0.6094 kB / 407 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2977, allocations: 1.781 kB / 407 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006184/0.2983, allocations: 453.4 kB / 407.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2983, allocations: 0 / 407.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.2984, allocations: 29.52 kB / 407.5 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.2985, allocations: 32.47 kB / 407.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2986, allocations: 5.188 kB / 407.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007243/0.2993, allocations: 1.329 MB / 408.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2993, allocations: 2.031 kB / 408.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.2998, allocations: 359.2 kB / 409.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.2999, allocations: 25.28 kB / 409.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.2999, allocations: 5.984 kB / 409.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.3001, allocations: 18.94 kB / 409.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.3002, allocations: 22.06 kB / 409.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.3002, allocations: 6.812 kB / 409.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.143e-05/0.3002, allocations: 122.4 kB / 409.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3002, allocations: 0 / 409.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000331/0.3006, allocations: 66.59 kB / 409.5 MB, free: 0.7578 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 9.14e-05/0.3007, allocations: 93.61 kB / 409.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004737/0.3011, allocations: 250.7 kB / 409.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3011, allocations: 7.938 kB / 409.8 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.3014, allocations: 189.3 kB / 410 MB, free: 384 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3017, allocations: 24.53 kB / 410 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007376/0.3024, allocations: 497.9 kB / 410.5 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.3026, allocations: 125.7 kB / 410.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.3026, allocations: 17.17 kB / 410.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3026, allocations: 0 / 410.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Templates: time 0.005983/0.3086, allocations: 3.154 MB / 413.8 MB, free: 14.79 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.6000788528472185]