Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009211/0.0009213, allocations: 179.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.4 MB / 222.5 MB, free: 9.102 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007928/0.0007927, allocations: 96.98 kB / 270.9 MB, free: 8.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003338, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2825, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00227/0.2848, allocations: 2.085 MB / 376.6 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009196/0.2857, allocations: 0.6071 MB / 377.2 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.2859, allocations: 8.469 kB / 377.2 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.286, allocations: 26.47 kB / 377.3 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.2861, allocations: 60.02 kB / 377.3 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.2864, allocations: 46.84 kB / 377.4 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.2866, allocations: 241.3 kB / 377.6 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.2868, allocations: 88.02 kB / 377.7 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.287, allocations: 74.5 kB / 377.8 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.2871, allocations: 95.42 kB / 377.9 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.2872, allocations: 11.19 kB / 377.9 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.347e-05/0.2872, allocations: 16.91 kB / 377.9 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.2873, allocations: 34.09 kB / 377.9 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.2874, allocations: 63.23 kB / 378 MB, free: 42.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.2876, allocations: 179.8 kB / 378.2 MB, free: 42.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2876, allocations: 0 / 378.2 MB, free: 42.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2876, allocations: 9.156 kB / 378.2 MB, free: 42.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.2876, allocations: 0 / 378.2 MB, free: 42.67 MB / 298.7 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.0008752/0.2885, allocations: 0.5286 MB / 378.7 MB, free: 42.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2885, allocations: 9.562 kB / 378.7 MB, free: 42.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.2886, allocations: 26.25 kB / 378.7 MB, free: 42.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.2889, allocations: 227.9 kB / 379 MB, free: 41.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.2889, allocations: 20.83 kB / 379 MB, free: 41.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.289, allocations: 25.44 kB / 379 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.2894, allocations: 228.2 kB / 379.2 MB, free: 41.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.2895, allocations: 3.938 kB / 379.2 MB, free: 41.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.2895, allocations: 10.25 kB / 379.2 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.2895, allocations: 5.094 kB / 379.2 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.2899, allocations: 165.9 kB / 379.4 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.2911, allocations: 0.8362 MB / 380.2 MB, free: 40.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.2915, allocations: 164.6 kB / 380.4 MB, free: 40.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.2917, allocations: 85.72 kB / 380.5 MB, free: 40.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.2918, allocations: 1.469 kB / 380.5 MB, free: 40.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.2918, allocations: 40.03 kB / 380.5 MB, free: 40.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.2918, allocations: 0 / 380.5 MB, free: 40.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009489/0.2928, allocations: 353.8 kB / 380.9 MB, free: 40.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.2928, allocations: 52.81 kB / 380.9 MB, free: 40.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.293, allocations: 181.2 kB / 381.1 MB, free: 40.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.293, allocations: 25.7 kB / 381.1 MB, free: 40.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.2931, allocations: 147.2 kB / 381.3 MB, free: 40.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.2931, allocations: 57.36 kB / 381.3 MB, free: 40.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.2931, allocations: 5.312 kB / 381.3 MB, free: 40.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.2932, allocations: 326.2 kB / 381.7 MB, free: 39.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.2934, allocations: 61.31 kB / 381.7 MB, free: 39.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.2936, allocations: 95.31 kB / 381.8 MB, free: 39.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.2937, allocations: 58.23 kB / 381.9 MB, free: 39.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2938, allocations: 5.516 kB / 381.9 MB, free: 39.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004775/0.2942, allocations: 224.7 kB / 382.1 MB, free: 39.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2943, allocations: 9.609 kB / 382.1 MB, free: 39.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2943, allocations: 1.312 kB / 382.1 MB, free: 39.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.2945, allocations: 36.06 kB / 382.1 MB, free: 39.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.2947, allocations: 36.05 kB / 382.2 MB, free: 39.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009056/0.2956, allocations: 1.358 MB / 383.5 MB, free: 38.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.2958, allocations: 46.34 kB / 383.6 MB, free: 38.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.2958, allocations: 9.25 kB / 383.6 MB, free: 38.07 MB / 298.7 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 ($PRE.onOffController.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.2959, allocations: 139.6 kB / 383.7 MB, free: 37.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.296, allocations: 15.8 kB / 383.7 MB, free: 37.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.296, allocations: 25.39 kB / 383.8 MB, free: 37.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.296, allocations: 6.031 kB / 383.8 MB, free: 37.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.296, allocations: 0.9688 kB / 383.8 MB, free: 37.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2961, allocations: 3.984 kB / 383.8 MB, free: 37.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006732/0.2967, allocations: 0.5209 MB / 384.3 MB, free: 37.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2968, allocations: 1.375 kB / 384.3 MB, free: 37.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.2969, allocations: 30.72 kB / 384.3 MB, free: 37.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/0.297, allocations: 33.92 kB / 384.4 MB, free: 37.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.297, allocations: 5.156 kB / 384.4 MB, free: 37.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007475/0.2978, allocations: 1.364 MB / 385.7 MB, free: 36.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2978, allocations: 0 / 385.7 MB, free: 36.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/0.2984, allocations: 370.7 kB / 386.1 MB, free: 35.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.2985, allocations: 103 kB / 386.2 MB, free: 35.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.2985, allocations: 5 kB / 386.2 MB, free: 35.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.2987, allocations: 30.25 kB / 386.2 MB, free: 35.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.2988, allocations: 19.97 kB / 386.2 MB, free: 35.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.2988, allocations: 2.375 kB / 386.2 MB, free: 35.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.71e-05/0.2989, allocations: 126.2 kB / 386.4 MB, free: 35.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2989, allocations: 1.031 kB / 386.4 MB, free: 35.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003087/0.2992, allocations: 61.56 kB / 386.4 MB, free: 35.52 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001035/0.2993, allocations: 109.6 kB / 386.5 MB, free: 35.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000537/0.2999, allocations: 264.8 kB / 386.8 MB, free: 35.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2999, allocations: 0 / 386.8 MB, free: 35.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.3002, allocations: 201.4 kB / 387 MB, free: 35.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3005, allocations: 37.58 kB / 387 MB, free: 35.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008022/0.3013, allocations: 0.5869 MB / 387.6 MB, free: 34.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.3015, allocations: 0.7393 MB / 388.4 MB, free: 33.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.3016, allocations: 16.66 kB / 388.4 MB, free: 33.86 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3016, allocations: 0 / 388.4 MB, free: 33.86 MB / 298.7 MB Notification: Performance of Templates: time 0.004456/0.3061, allocations: 3.128 MB / 391.5 MB, free: 31.14 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches