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.001355/0.001355, allocations: 106.4 kB / 17.15 MB, free: 6.305 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.001629/0.001629, allocations: 198 kB / 18.07 MB, free: 5.41 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.542/1.542, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001184/0.001185, allocations: 47.94 kB / 280 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1151, allocations: 46.63 MB / 326.6 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004472/0.1197, allocations: 2.516 MB / 329.1 MB, free: 2.371 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1209, allocations: 0.6476 MB / 329.8 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.121, allocations: 7.938 kB / 329.8 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.1211, allocations: 19.78 kB / 329.8 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.1213, allocations: 63.52 kB / 329.8 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.1215, allocations: 55.89 kB / 329.9 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.1218, allocations: 250.9 kB / 330.1 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.1221, allocations: 83.3 kB / 330.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.1222, allocations: 99.58 kB / 330.3 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1223, allocations: 103.5 kB / 330.4 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.1224, allocations: 16 kB / 330.4 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.752e-05/0.1225, allocations: 20 kB / 330.5 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.1225, allocations: 39.83 kB / 330.5 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.1226, allocations: 119.4 kB / 330.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.1229, allocations: 243.4 kB / 330.8 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1229, allocations: 4 kB / 330.9 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1229, allocations: 0 / 330.9 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1229, allocations: 3.938 kB / 330.9 MB, free: 0.6055 MB / 270.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.00109/0.124, allocations: 0.5381 MB / 331.4 MB, free: 16 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1241, allocations: 8.031 kB / 331.4 MB, free: 8 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.1243, allocations: 32.83 kB / 331.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1245, allocations: 232.3 kB / 331.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.1246, allocations: 12.81 kB / 331.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.1246, allocations: 20.38 kB / 331.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.1251, allocations: 230.2 kB / 331.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1251, allocations: 3.938 kB / 331.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.1251, allocations: 11.98 kB / 331.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1251, allocations: 12 kB / 331.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.1255, allocations: 153.7 kB / 332.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.1268, allocations: 0.8204 MB / 332.9 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.1272, allocations: 158.6 kB / 333.1 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.1274, allocations: 80.81 kB / 333.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.1274, allocations: 4 kB / 333.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.1274, allocations: 38.56 kB / 333.2 MB, free: 14.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.1274, allocations: 3.938 kB / 333.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.000885/0.1283, allocations: 331.2 kB / 333.5 MB, free: 13.72 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1284, allocations: 59.34 kB / 333.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1285, allocations: 182.6 kB / 333.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1286, allocations: 33.64 kB / 333.8 MB, free: 13.43 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.738e-05/0.1287, allocations: 148 kB / 333.9 MB, free: 13.28 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.1287, allocations: 47.27 kB / 334 MB, free: 13.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.1288, allocations: 41.7 kB / 334 MB, free: 13.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1289, allocations: 330.8 kB / 334.3 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.1291, allocations: 47.97 kB / 334.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.1293, allocations: 92.25 kB / 334.5 MB, free: 12.7 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.1296, allocations: 147.2 kB / 334.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1296, allocations: 4 kB / 334.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004411/0.13, allocations: 214.1 kB / 334.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1301, allocations: 8 kB / 334.8 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1301, allocations: 128 / 334.8 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.1303, allocations: 36.84 kB / 334.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.1304, allocations: 39.91 kB / 334.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.1315, allocations: 1.366 MB / 336.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.1317, allocations: 27.84 kB / 336.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.1318, allocations: 12 kB / 336.3 MB, free: 10.69 MB / 286.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.000133/0.1319, allocations: 133.9 kB / 336.5 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.132, allocations: 19.88 kB / 336.5 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.132, allocations: 25.81 kB / 336.5 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.132, allocations: 0 / 336.5 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.132, allocations: 4 kB / 336.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.132, allocations: 3.984 kB / 336.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007914/0.1328, allocations: 0.5108 MB / 337 MB, free: 9.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1328, allocations: 0 / 337 MB, free: 9.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.133, allocations: 35.98 kB / 337.1 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.1331, allocations: 32.77 kB / 337.1 MB, free: 9.859 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.1331, allocations: 4 kB / 337.1 MB, free: 9.855 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.1342, allocations: 1.359 MB / 338.4 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1342, allocations: 0 / 338.4 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.1348, allocations: 353.2 kB / 338.8 MB, free: 8.004 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.445e-05/0.1349, allocations: 101.1 kB / 338.9 MB, free: 7.887 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.1349, allocations: 8 kB / 338.9 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.1352, allocations: 23.91 kB / 338.9 MB, free: 7.855 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.1352, allocations: 24.05 kB / 338.9 MB, free: 7.832 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1353, allocations: 4 kB / 338.9 MB, free: 7.828 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1354, allocations: 123.2 kB / 339.1 MB, free: 7.707 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1354, allocations: 4 kB / 339.1 MB, free: 7.703 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003377/0.1357, allocations: 59.84 kB / 339.1 MB, free: 7.645 MB / 286.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.0001234/0.1358, allocations: 99.23 kB / 339.2 MB, free: 7.535 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005318/0.1364, allocations: 275 kB / 339.5 MB, free: 7.254 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1364, allocations: 256 / 339.5 MB, free: 7.254 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.1367, allocations: 194.6 kB / 339.7 MB, free: 7.051 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.1371, allocations: 23.98 kB / 339.7 MB, free: 7.027 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008815/0.138, allocations: 0.5382 MB / 340.2 MB, free: 6.469 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.1383, allocations: 0.7359 MB / 341 MB, free: 5.707 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.514e-05/0.1384, allocations: 17.55 kB / 341 MB, free: 5.691 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.1384, allocations: 15.44 kB / 341 MB, free: 5.676 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1384, allocations: 3.938 kB / 341 MB, free: 5.672 MB / 286.1 MB Notification: Performance of Templates: time 0.005425/0.1438, allocations: 2.212 MB / 343.2 MB, free: 3.469 MB / 286.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/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_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches