Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001546/0.001546, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002213/0.002213, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.89 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2726, allocations: 53.41 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004357/0.2769, allocations: 2.544 MB / 435 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.2784, allocations: 0.6971 MB / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.2786, allocations: 4 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.2788, allocations: 31.66 kB / 435.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.279, allocations: 71.33 kB / 435.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.2793, allocations: 71.8 kB / 435.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.2797, allocations: 258.8 kB / 436.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.2799, allocations: 80.72 kB / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.2802, allocations: 99.66 kB / 436.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.2804, allocations: 115.5 kB / 436.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.2804, allocations: 20 kB / 436.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.2805, allocations: 28 kB / 436.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.2806, allocations: 47.84 kB / 436.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.2807, allocations: 111.5 kB / 436.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004159/0.2811, allocations: 265.3 kB / 436.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2811, allocations: 4 kB / 436.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2811, allocations: 0 / 436.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.2811, allocations: 0 / 436.8 MB, free: 2.309 MB / 334.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.001037/0.2822, allocations: 485.6 kB / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2822, allocations: 8.031 kB / 437.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.2824, allocations: 28.8 kB / 437.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.2827, allocations: 177.6 kB / 437.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.2828, allocations: 16.81 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/0.2828, allocations: 16.38 kB / 437.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.2833, allocations: 242.1 kB / 437.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.2833, allocations: 0 / 437.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.2834, allocations: 8 kB / 437.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.2834, allocations: 7.984 kB / 437.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.2838, allocations: 153.7 kB / 438 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.2853, allocations: 0.7781 MB / 438.7 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.2857, allocations: 150.6 kB / 438.9 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.2859, allocations: 76.75 kB / 439 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.2859, allocations: 4 kB / 439 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.286, allocations: 34.56 kB / 439 MB, free: 12 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 3.807e-06/0.286, allocations: 4 kB / 439 MB, free: 8 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009158/0.2869, allocations: 261.4 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.2869, allocations: 55.34 kB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.2871, allocations: 179.6 kB / 439.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.2871, allocations: 25.7 kB / 439.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.2873, allocations: 160.4 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.2873, allocations: 59.48 kB / 439.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/0.2874, allocations: 37.7 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.2875, allocations: 326.8 kB / 440.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.2877, allocations: 55.97 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.2879, allocations: 95.81 kB / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.2882, allocations: 146.8 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2882, allocations: 0 / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004913/0.2887, allocations: 218.1 kB / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.2887, allocations: 10.66 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2887, allocations: 0 / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002283/0.289, allocations: 40.91 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.2891, allocations: 27.98 kB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.2905, allocations: 1.369 MB / 442 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.2907, allocations: 35.83 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.2907, allocations: 8 kB / 442.1 MB, free: 12.72 MB / 350.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.0001472/0.2909, allocations: 129.8 kB / 442.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.2909, allocations: 15.97 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.291, allocations: 25.81 kB / 442.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.291, allocations: 0 / 442.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.291, allocations: 0 / 442.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.291, allocations: 11.92 kB / 442.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008559/0.2918, allocations: 494.1 kB / 442.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2918, allocations: 0 / 442.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.292, allocations: 31.98 kB / 442.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/0.2921, allocations: 32.83 kB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.2921, allocations: 8 kB / 442.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.2934, allocations: 1.366 MB / 444.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2934, allocations: 3.938 kB / 444.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.294, allocations: 348.2 kB / 444.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.2941, allocations: 23.86 kB / 444.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.2941, allocations: 4 kB / 444.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.2943, allocations: 27.91 kB / 444.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.2944, allocations: 15.97 kB / 444.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.2944, allocations: 4 kB / 444.6 MB, free: 10 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.2945, allocations: 139.5 kB / 444.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2945, allocations: 0 / 444.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003363/0.2949, allocations: 55.89 kB / 444.8 MB, free: 9.812 MB / 350.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.0001459/0.295, allocations: 103.2 kB / 444.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005991/0.2956, allocations: 254.4 kB / 445.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2956, allocations: 4 kB / 445.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.2959, allocations: 194.5 kB / 445.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.2962, allocations: 27.88 kB / 445.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009329/0.2972, allocations: 0.4932 MB / 445.9 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.2976, allocations: 0.732 MB / 446.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.2976, allocations: 19.42 kB / 446.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2976, allocations: 0 / 446.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of Templates: time 0.005689/0.3033, allocations: 3.17 MB / 449.8 MB, free: 4.746 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.793712757062167]