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.0007471/0.0007474, allocations: 95.73 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000911/0.0009111, allocations: 201.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002598/0.0002595, allocations: 8 kB / 307.7 MB, free: 0.8477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.09913, allocations: 51.53 MB / 359.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003035/0.1022, allocations: 2.189 MB / 361.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1036, allocations: 0.67 MB / 362.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.1038, allocations: 4 kB / 362.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.1039, allocations: 31.77 kB / 362.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.1041, allocations: 59.53 kB / 362.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.1044, allocations: 55.89 kB / 362.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.1048, allocations: 250.8 kB / 362.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.105, allocations: 95.28 kB / 362.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1051, allocations: 79.66 kB / 362.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1053, allocations: 103.5 kB / 362.8 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.1053, allocations: 8 kB / 362.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.628e-05/0.1054, allocations: 16 kB / 362.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.1055, allocations: 35.84 kB / 362.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1056, allocations: 133.1 kB / 363 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.1059, allocations: 243.3 kB / 363.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1059, allocations: 0 / 363.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1059, allocations: 0 / 363.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.1059, allocations: 3.938 kB / 363.2 MB, free: 9.336 MB / 302.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.0009922/0.1069, allocations: 0.507 MB / 363.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.107, allocations: 12.03 kB / 363.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.1071, allocations: 24.66 kB / 363.7 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.1074, allocations: 243.8 kB / 364 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.1074, allocations: 16.81 kB / 364 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.1075, allocations: 16.38 kB / 364 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/0.108, allocations: 238.1 kB / 364.2 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.108, allocations: 0 / 364.2 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.108, allocations: 12 kB / 364.2 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.108, allocations: 8 kB / 364.3 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/0.1085, allocations: 169.6 kB / 364.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.1097, allocations: 0.8244 MB / 365.2 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.1101, allocations: 166.6 kB / 365.4 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.1103, allocations: 91.72 kB / 365.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.1103, allocations: 3.938 kB / 365.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1104, allocations: 34.55 kB / 365.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1104, allocations: 4 kB / 365.5 MB, free: 6.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008526/0.1112, allocations: 355.2 kB / 365.9 MB, free: 6.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.1113, allocations: 55.41 kB / 365.9 MB, free: 6.363 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1114, allocations: 172 kB / 366.1 MB, free: 6.184 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.1115, allocations: 33.7 kB / 366.1 MB, free: 6.145 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.254e-05/0.1116, allocations: 144 kB / 366.3 MB, free: 5.996 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.1116, allocations: 55.33 kB / 366.3 MB, free: 5.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.1117, allocations: 33.7 kB / 366.4 MB, free: 5.902 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1118, allocations: 322.8 kB / 366.7 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.112, allocations: 59.97 kB / 366.7 MB, free: 5.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.1122, allocations: 103.2 kB / 366.8 MB, free: 5.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.1125, allocations: 152.1 kB / 367 MB, free: 5.242 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1125, allocations: 0 / 367 MB, free: 5.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004995/0.113, allocations: 225.1 kB / 367.2 MB, free: 5.016 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.113, allocations: 15.92 kB / 367.2 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1131, allocations: 4 kB / 367.2 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.1132, allocations: 40.72 kB / 367.3 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.1134, allocations: 31.98 kB / 367.3 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.1145, allocations: 1.374 MB / 368.7 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.1147, allocations: 39.92 kB / 368.7 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1148, allocations: 4 kB / 368.7 MB, free: 3.367 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.0001157/0.1149, allocations: 142.7 kB / 368.9 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.1149, allocations: 15.81 kB / 368.9 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.115, allocations: 21.88 kB / 368.9 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.115, allocations: 4 kB / 368.9 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.115, allocations: 0 / 368.9 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.115, allocations: 7.984 kB / 368.9 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.1157, allocations: 0.5263 MB / 369.4 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1157, allocations: 0 / 369.4 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.1159, allocations: 31.98 kB / 369.5 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.116, allocations: 32.83 kB / 369.5 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.116, allocations: 7.938 kB / 369.5 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009711/0.117, allocations: 1.364 MB / 370.9 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.117, allocations: 0 / 370.9 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006367/0.1177, allocations: 374.3 kB / 371.2 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/0.1178, allocations: 100.9 kB / 371.3 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1178, allocations: 0 / 371.3 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.118, allocations: 36.03 kB / 371.4 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.1181, allocations: 19.91 kB / 371.4 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1181, allocations: 7.938 kB / 371.4 MB, free: 468 kB / 302.1 MB Notification: Performance of sorting global known variables: time 9.978e-05/0.1182, allocations: 131.5 kB / 371.5 MB, free: 336 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1182, allocations: 0 / 371.5 MB, free: 336 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.1185, allocations: 63.84 kB / 371.6 MB, free: 272 kB / 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.0001053/0.1187, allocations: 103.2 kB / 371.7 MB, free: 156 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1523/0.271, allocations: 271.3 kB / 372 MB, free: 19.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.271, allocations: 2.5 kB / 372 MB, free: 19.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.2714, allocations: 194.4 kB / 372.1 MB, free: 19.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.2718, allocations: 32.69 kB / 372.2 MB, free: 19.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.2726, allocations: 0.5675 MB / 372.7 MB, free: 18.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.2728, allocations: 0.7363 MB / 373.5 MB, free: 18.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.29e-05/0.2729, allocations: 17.22 kB / 373.5 MB, free: 18.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.2729, allocations: 16.16 kB / 373.5 MB, free: 18.17 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2729, allocations: 0 / 373.5 MB, free: 18.17 MB / 302.1 MB Notification: Performance of Templates: time 0.005501/0.2784, allocations: 2.189 MB / 375.7 MB, free: 18.06 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches