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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 106.2 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001756, allocations: 184.3 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 51.92 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07405/0.07532, allocations: 46.61 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00356/0.07891, allocations: 2.462 MB / 378.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.08015, allocations: 0.6472 MB / 378.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.08036, allocations: 4 kB / 378.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.08058, allocations: 35.59 kB / 379 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.08077, allocations: 71.39 kB / 379 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.08102, allocations: 63.86 kB / 379.1 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.08132, allocations: 262.8 kB / 379.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.08152, allocations: 107.4 kB / 379.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.0817, allocations: 103.7 kB / 379.6 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.08188, allocations: 111.5 kB / 379.7 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.08192, allocations: 20 kB / 379.7 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.465e-05/0.08201, allocations: 31.94 kB / 379.7 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.08206, allocations: 47.84 kB / 379.8 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.08216, allocations: 107.5 kB / 379.9 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.08245, allocations: 267 kB / 380.1 MB, free: 260 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.08246, allocations: 0 / 380.1 MB, free: 260 kB / 318.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.08247, allocations: 0 / 380.1 MB, free: 260 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.08249, allocations: 0 / 380.1 MB, free: 260 kB / 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.1487/0.2312, allocations: 0.5298 MB / 380.7 MB, free: 13.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2313, allocations: 15.73 kB / 380.7 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.2314, allocations: 29.58 kB / 380.7 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.2317, allocations: 235.9 kB / 380.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.2318, allocations: 16.03 kB / 380.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.2318, allocations: 21.53 kB / 381 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.2322, allocations: 235.2 kB / 381.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2323, allocations: 0.7031 kB / 381.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.2323, allocations: 13.44 kB / 381.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2323, allocations: 5.5 kB / 381.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.2327, allocations: 152.9 kB / 381.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.2338, allocations: 0.8166 MB / 382.2 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.2342, allocations: 162.5 kB / 382.3 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.2344, allocations: 80.27 kB / 382.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.2344, allocations: 5.062 kB / 382.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.2344, allocations: 35.72 kB / 382.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.704e-06/0.2344, allocations: 0 / 382.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008073/0.2353, allocations: 339.3 kB / 382.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.445e-05/0.2353, allocations: 53.78 kB / 382.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.2355, allocations: 178.9 kB / 383 MB, free: 12.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2355, allocations: 36.16 kB / 383 MB, free: 11.97 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.2355, allocations: 146.1 kB / 383.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.2356, allocations: 53.12 kB / 383.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.2357, allocations: 38.19 kB / 383.3 MB, free: 11.78 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.203e-05/0.2357, allocations: 327.1 kB / 383.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.2359, allocations: 57.48 kB / 383.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.236, allocations: 93.83 kB / 383.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.2363, allocations: 147.3 kB / 383.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2364, allocations: 3.766 kB / 383.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005095/0.2369, allocations: 215.4 kB / 384.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2369, allocations: 5.844 kB / 384.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2369, allocations: 8.234 kB / 384.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/0.2371, allocations: 34.19 kB / 384.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.2373, allocations: 39.69 kB / 384.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008418/0.2381, allocations: 1.461 MB / 385.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.2383, allocations: 38.55 kB / 385.7 MB, free: 9.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.2384, allocations: 5.156 kB / 385.7 MB, free: 9.707 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.207e-05/0.2385, allocations: 133.7 kB / 385.8 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.2385, allocations: 12.41 kB / 385.8 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.2385, allocations: 23.12 kB / 385.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2386, allocations: 0.9844 kB / 385.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2386, allocations: 2.266 kB / 385.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.2386, allocations: 103.4 kB / 386 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.2387, allocations: 13.31 kB / 386 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.2389, allocations: 17.69 kB / 386 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.2389, allocations: 19.05 kB / 386 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005946/0.2395, allocations: 289.4 kB / 386.3 MB, free: 9.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004886/0.24, allocations: 403.7 kB / 386.7 MB, free: 8.996 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001461/0.2402, allocations: 65.88 kB / 386.8 MB, free: 8.973 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.828e-05/0.2403, allocations: 133.1 kB / 386.9 MB, free: 8.879 MB / 318.1 MB Notification: Performance of Backend: time 2.91e-07/0.2403, allocations: 0 / 386.9 MB, free: 8.879 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006409/0.2409, allocations: 287.8 kB / 387.2 MB, free: 8.672 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007375/0.2417, allocations: 0.9143 MB / 388.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of Templates: time 0.006563/0.2483, allocations: 2.626 MB / 390.7 MB, free: 7.699 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (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) 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) Reference file matches