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.001556/0.001557, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00183/0.00183, allocations: 204 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.379/1.379, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2071, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003551/0.2107, allocations: 2.512 MB / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2118, allocations: 0.6895 MB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.212, allocations: 4 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.2121, allocations: 31.64 kB / 413.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.2123, allocations: 67.36 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.2125, allocations: 63.84 kB / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.2128, allocations: 270.8 kB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.213, allocations: 103.4 kB / 413.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.2132, allocations: 87.72 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.2133, allocations: 115.5 kB / 413.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.2134, allocations: 20 kB / 413.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-05/0.2135, allocations: 24 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.2135, allocations: 59.77 kB / 413.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.2137, allocations: 119.5 kB / 414.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.214, allocations: 254.9 kB / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.214, allocations: 0 / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.214, allocations: 0 / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.214, allocations: 0 / 414.3 MB, free: 13.18 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.000898/0.2149, allocations: 0.5495 MB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.215, allocations: 8.031 kB / 414.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.2151, allocations: 28.8 kB / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.2154, allocations: 232.4 kB / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.2154, allocations: 24.75 kB / 415.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.2154, allocations: 20.38 kB / 415.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.2159, allocations: 230.2 kB / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.2159, allocations: 3.953 kB / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.2159, allocations: 15.98 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.2159, allocations: 4 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.2163, allocations: 165.6 kB / 415.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.2176, allocations: 0.8052 MB / 416.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.218, allocations: 162.6 kB / 416.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.2182, allocations: 80.81 kB / 416.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.2182, allocations: 4 kB / 416.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.2182, allocations: 38.56 kB / 416.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.2183, allocations: 0 / 416.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008326/0.2191, allocations: 335.2 kB / 417 MB, free: 10.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.2191, allocations: 55.41 kB / 417 MB, free: 10.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.2193, allocations: 178.6 kB / 417.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.2193, allocations: 29.7 kB / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.788e-05/0.2194, allocations: 144.3 kB / 417.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.2195, allocations: 63.42 kB / 417.5 MB, free: 9.797 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.2195, allocations: 37.7 kB / 417.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2197, allocations: 330.8 kB / 417.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.2198, allocations: 51.97 kB / 417.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.22, allocations: 99.75 kB / 418 MB, free: 9.262 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.2203, allocations: 147.2 kB / 418.1 MB, free: 9.105 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2203, allocations: 0 / 418.1 MB, free: 9.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004605/0.2208, allocations: 218.2 kB / 418.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2208, allocations: 12.06 kB / 418.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2208, allocations: 4 kB / 418.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.221, allocations: 28.84 kB / 418.4 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2212, allocations: 35.97 kB / 418.4 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.2223, allocations: 1.473 MB / 419.9 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.2225, allocations: 31.86 kB / 419.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.2226, allocations: 11.88 kB / 419.9 MB, free: 7.137 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.0001154/0.2227, allocations: 129.9 kB / 420 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.2227, allocations: 15.91 kB / 420.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.844e-05/0.2228, allocations: 25.86 kB / 420.1 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2228, allocations: 3.938 kB / 420.1 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2228, allocations: 0 / 420.1 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.333e-05/0.2229, allocations: 104.9 kB / 420.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.2229, allocations: 7.938 kB / 420.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.2231, allocations: 23.97 kB / 420.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.2232, allocations: 19.97 kB / 420.2 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006325/0.2238, allocations: 285.6 kB / 420.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005502/0.2244, allocations: 401.4 kB / 420.9 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001524/0.2246, allocations: 60.02 kB / 421 MB, free: 6.027 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.403e-05/0.2247, allocations: 128.3 kB / 421.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of Backend: time 3.21e-07/0.2247, allocations: 4 kB / 421.1 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006681/0.2253, allocations: 295.5 kB / 421.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008638/0.2262, allocations: 0.9183 MB / 422.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of Templates: time 0.005679/0.2319, allocations: 2.542 MB / 424.8 MB, free: 2.105 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