Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001662/0.001662, allocations: 82.02 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002035/0.002035, allocations: 165.6 kB / 24.5 MB, free: 3.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] 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.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 56.89 kB / 325.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08806/0.09007, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004116/0.09419, allocations: 2.838 MB / 381.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.09587, allocations: 0.9903 MB / 382.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.09605, allocations: 19.81 kB / 382.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.09629, allocations: 95.05 kB / 382.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.09646, allocations: 103 kB / 382.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.09696, allocations: 227.6 kB / 383.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005796/0.09754, allocations: 0.5449 MB / 383.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.09781, allocations: 139.2 kB / 383.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.09808, allocations: 191.2 kB / 384 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.09829, allocations: 159 kB / 384.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.09835, allocations: 36 kB / 384.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.09847, allocations: 51.98 kB / 384.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.353e-05/0.09855, allocations: 95.62 kB / 384.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.09872, allocations: 171 kB / 384.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006261/0.09935, allocations: 0.6028 MB / 385.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09935, allocations: 0 / 385.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.09935, allocations: 0 / 385.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.09936, allocations: 0 / 385.1 MB, free: 9.207 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009839/0.1003, allocations: 0.6841 MB / 385.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1004, allocations: 15.98 kB / 385.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.1006, allocations: 72.3 kB / 385.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.1012, allocations: 355.5 kB / 386.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.1012, allocations: 29 kB / 386.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/0.1013, allocations: 47.89 kB / 386.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007298/0.102, allocations: 495.3 kB / 386.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.102, allocations: 7.938 kB / 386.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.1021, allocations: 16 kB / 386.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.1021, allocations: 15.94 kB / 386.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.1026, allocations: 238.2 kB / 387.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.1048, allocations: 2.63 MB / 389.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.1052, allocations: 154.2 kB / 389.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.1053, allocations: 60.88 kB / 389.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.77e-05/0.1054, allocations: 15.98 kB / 389.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1054, allocations: 30.56 kB / 390 MB, free: 4.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.1054, allocations: 0 / 390 MB, free: 4.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00122/0.1067, allocations: 0.5662 MB / 390.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1067, allocations: 51.41 kB / 390.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.1071, allocations: 353.5 kB / 390.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1071, allocations: 29.7 kB / 391 MB, free: 3.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.1073, allocations: 315.7 kB / 391.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.1074, allocations: 59.48 kB / 391.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.068e-05/0.1074, allocations: 69.64 kB / 391.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1076, allocations: 350.7 kB / 391.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1078, allocations: 63.97 kB / 391.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.108, allocations: 221.5 kB / 392 MB, free: 1.898 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009147/0.109, allocations: 449.4 kB / 392.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.109, allocations: 0 / 392.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005915/0.1096, allocations: 361.8 kB / 392.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1096, allocations: 8 kB / 392.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1096, allocations: 7.938 kB / 392.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001323/0.1097, allocations: 36.83 kB / 392.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.11, allocations: 75.84 kB / 392.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.1113, allocations: 1.506 MB / 394.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1114, allocations: 12 kB / 394.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.1114, allocations: 16 kB / 394.5 MB, free: 15.27 MB / 366.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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.0002016/0.1116, allocations: 169.7 kB / 394.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.762e-05/0.1117, allocations: 35.77 kB / 394.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.532e-05/0.1118, allocations: 51.39 kB / 394.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1118, allocations: 0 / 394.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1118, allocations: 4 kB / 394.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1118, allocations: 8.062 kB / 394.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008748/0.1127, allocations: 0.5533 MB / 395.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1127, allocations: 4 kB / 395.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.1128, allocations: 35.91 kB / 395.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.732e-05/0.1129, allocations: 32.97 kB / 395.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1129, allocations: 4 kB / 395.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.1139, allocations: 1.308 MB / 396.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1139, allocations: 0 / 396.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/0.1145, allocations: 369.2 kB / 397 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.1145, allocations: 31.77 kB / 397.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.1146, allocations: 4.031 kB / 397.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1147, allocations: 8 kB / 397.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1147, allocations: 7.984 kB / 397.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1147, allocations: 11.98 kB / 397.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000236/0.115, allocations: 235.2 kB / 397.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.115, allocations: 4.062 kB / 397.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.1154, allocations: 68 kB / 397.4 MB, free: 12.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001158/0.1155, allocations: 95.25 kB / 397.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005531/0.116, allocations: 306.8 kB / 397.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1161, allocations: 4 kB / 397.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.1163, allocations: 182.5 kB / 398 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.1166, allocations: 45.42 kB / 398 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.118, allocations: 0.8594 MB / 398.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.1182, allocations: 215.1 kB / 399.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.1183, allocations: 43.27 kB / 399.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.1184, allocations: 40.38 kB / 399.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1184, allocations: 0 / 399.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of Templates: time 0.007255/0.1257, allocations: 2.662 MB / 401.8 MB, free: 7.695 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.367358805960976]