Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001344/0.001344, allocations: 107 kB / 17.16 MB, free: 6.324 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.001524/0.001524, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 50.58 kB / 300.6 MB, free: 6.332 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1027, allocations: 49.44 MB / 350 MB, free: 4.883 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004597/0.1074, allocations: 2.547 MB / 352.6 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.109, allocations: 0.6506 MB / 353.2 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004587/0.1095, allocations: 4 kB / 353.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.11, allocations: 19.84 kB / 353.3 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.1104, allocations: 63.45 kB / 353.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.1109, allocations: 47.95 kB / 353.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.1115, allocations: 266.7 kB / 353.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/0.1118, allocations: 75.33 kB / 353.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.1121, allocations: 99.62 kB / 353.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.1124, allocations: 99.55 kB / 353.9 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.123e-05/0.1125, allocations: 20 kB / 353.9 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1126, allocations: 20 kB / 353.9 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.336e-05/0.1127, allocations: 43.83 kB / 354 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.1129, allocations: 111.4 kB / 354.1 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.1132, allocations: 191.8 kB / 354.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1132, allocations: 0 / 354.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1132, allocations: 0 / 354.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1132, allocations: 0 / 354.3 MB, free: 0.6055 MB / 286.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.001223/0.1145, allocations: 0.5381 MB / 354.8 MB, free: 20 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.1145, allocations: 8.031 kB / 354.8 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.1147, allocations: 28.7 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.115, allocations: 244.2 kB / 355.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.1151, allocations: 16.81 kB / 355.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/0.1152, allocations: 16.38 kB / 355.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.1157, allocations: 238.1 kB / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1157, allocations: 0 / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.1158, allocations: 8 kB / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.1158, allocations: 8 kB / 355.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.1162, allocations: 161.6 kB / 355.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.1176, allocations: 0.8165 MB / 356.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.1181, allocations: 166.6 kB / 356.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.1183, allocations: 76.83 kB / 356.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1184, allocations: 4 kB / 356.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1184, allocations: 30.56 kB / 356.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 3.276e-06/0.1184, allocations: 4 kB / 356.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009261/0.1194, allocations: 342.5 kB / 357 MB, free: 13.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1194, allocations: 55.39 kB / 357 MB, free: 13.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1196, allocations: 179.2 kB / 357.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1196, allocations: 29.7 kB / 357.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1197, allocations: 152 kB / 357.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.919e-05/0.1198, allocations: 51.33 kB / 357.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.1199, allocations: 41.7 kB / 357.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1201, allocations: 330.8 kB / 357.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.1202, allocations: 55.91 kB / 357.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.1204, allocations: 91.44 kB / 357.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.1208, allocations: 150.8 kB / 358.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.1208, allocations: 4 kB / 358.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005158/0.1213, allocations: 210.1 kB / 358.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1213, allocations: 8 kB / 358.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.1213, allocations: 4 kB / 358.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.1216, allocations: 40.94 kB / 358.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.1218, allocations: 35.92 kB / 358.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.1232, allocations: 1.366 MB / 359.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.1234, allocations: 27.83 kB / 359.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.1234, allocations: 8 kB / 359.8 MB, free: 10.68 MB / 302.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.0001584/0.1236, allocations: 129.8 kB / 359.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.1237, allocations: 19.8 kB / 359.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.1237, allocations: 25.94 kB / 359.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1237, allocations: 0 / 359.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1237, allocations: 4 kB / 359.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1238, allocations: 3.938 kB / 359.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008223/0.1246, allocations: 0.5185 MB / 360.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1246, allocations: 0 / 360.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.1248, allocations: 27.92 kB / 360.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.1249, allocations: 44.77 kB / 360.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.1249, allocations: 0 / 360.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.126, allocations: 1.363 MB / 361.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.126, allocations: 4.031 kB / 361.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/0.1267, allocations: 351.9 kB / 362.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.1268, allocations: 96.94 kB / 362.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.1268, allocations: 16.06 kB / 362.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.127, allocations: 23.97 kB / 362.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.1271, allocations: 15.92 kB / 362.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1271, allocations: 3.984 kB / 362.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.1272, allocations: 127.2 kB / 362.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1272, allocations: 0 / 362.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.1276, allocations: 63.84 kB / 362.6 MB, free: 7.621 MB / 302.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.0001241/0.1277, allocations: 103.2 kB / 362.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005529/0.1283, allocations: 262.4 kB / 362.9 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1283, allocations: 3.938 kB / 362.9 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.1286, allocations: 190.9 kB / 363.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.129, allocations: 23.98 kB / 363.2 MB, free: 7.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009252/0.1299, allocations: 0.554 MB / 363.7 MB, free: 6.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.1302, allocations: 0.7401 MB / 364.4 MB, free: 5.664 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.1303, allocations: 19.44 kB / 364.5 MB, free: 5.648 MB / 302.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1303, allocations: 0 / 364.5 MB, free: 5.648 MB / 302.1 MB Notification: Performance of Templates: time 0.006415/0.1367, allocations: 3.144 MB / 367.6 MB, free: 2.512 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches