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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001055, allocations: 111.1 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 67.88 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2292, allocations: 50.55 MB / 409.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003565/0.2328, allocations: 2.493 MB / 412.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.234, allocations: 0.6817 MB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.2342, allocations: 4 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.2344, allocations: 39.64 kB / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.2345, allocations: 67.34 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.2348, allocations: 67.8 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.2351, allocations: 262.8 kB / 413.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.2353, allocations: 103.4 kB / 413.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.2354, allocations: 99.64 kB / 413.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.2356, allocations: 111.5 kB / 413.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.2356, allocations: 20 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.985e-05/0.2357, allocations: 24 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.567e-05/0.2358, allocations: 55.78 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.2359, allocations: 119.5 kB / 414.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.2362, allocations: 252.2 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2362, allocations: 0 / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2362, allocations: 0 / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.2363, allocations: 0 / 414.3 MB, free: 13.16 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.0009015/0.2372, allocations: 0.5497 MB / 414.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2372, allocations: 8.031 kB / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.2373, allocations: 32.64 kB / 414.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.2376, allocations: 232.4 kB / 415.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.2377, allocations: 16.75 kB / 415.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.2377, allocations: 28.28 kB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.2381, allocations: 230.2 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2381, allocations: 3.984 kB / 415.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.2382, allocations: 8 kB / 415.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2382, allocations: 8 kB / 415.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.2386, allocations: 157.6 kB / 415.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.2398, allocations: 0.8088 MB / 416.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.2402, allocations: 158.5 kB / 416.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.2404, allocations: 80.81 kB / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.2404, allocations: 0 / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.2405, allocations: 42.56 kB / 416.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.2405, allocations: 0 / 416.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000832/0.2413, allocations: 327.2 kB / 417 MB, free: 10.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2413, allocations: 59.41 kB / 417 MB, free: 10.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.2415, allocations: 178.6 kB / 417.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.2415, allocations: 29.7 kB / 417.2 MB, free: 9.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.2416, allocations: 144.1 kB / 417.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.2417, allocations: 59.27 kB / 417.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.2417, allocations: 45.58 kB / 417.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2419, allocations: 330.8 kB / 417.8 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.242, allocations: 55.95 kB / 417.8 MB, free: 9.352 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.2422, allocations: 93.39 kB / 417.9 MB, free: 9.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.2425, allocations: 144.2 kB / 418.1 MB, free: 9.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2425, allocations: 3.938 kB / 418.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004603/0.243, allocations: 218.1 kB / 418.3 MB, free: 8.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.243, allocations: 7.938 kB / 418.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.243, allocations: 4.125 kB / 418.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001758/0.2432, allocations: 32.84 kB / 418.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.2434, allocations: 35.97 kB / 418.4 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.2445, allocations: 1.473 MB / 419.8 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.2447, allocations: 31.86 kB / 419.9 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2447, allocations: 7.938 kB / 419.9 MB, free: 7.121 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.000108/0.2448, allocations: 137.8 kB / 420 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.2449, allocations: 15.81 kB / 420 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.2449, allocations: 25.86 kB / 420.1 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2449, allocations: 0 / 420.1 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2449, allocations: 0 / 420.1 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.245, allocations: 104.8 kB / 420.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.245, allocations: 7.938 kB / 420.2 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.2453, allocations: 23.97 kB / 420.2 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.2453, allocations: 19.97 kB / 420.2 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006186/0.2459, allocations: 277.2 kB / 420.5 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005316/0.2465, allocations: 413.7 kB / 420.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001525/0.2467, allocations: 56.03 kB / 420.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.533e-05/0.2467, allocations: 128.3 kB / 421.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of Backend: time 4.4e-07/0.2468, allocations: 0 / 421.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006548/0.2474, allocations: 291.4 kB / 421.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008446/0.2483, allocations: 0.919 MB / 422.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of Templates: time 0.005544/0.2538, allocations: 2.546 MB / 424.8 MB, free: 2.098 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches