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.001364/0.001364, allocations: 86.02 kB / 20.68 MB, free: 1.035 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.001499/0.001499, allocations: 158.8 kB / 23.95 MB, free: 4.168 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.459/1.459, allocations: 177 MB / 204.1 MB, free: 9.156 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 1.262e-06/1.262e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.874e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004009/0.004028, allocations: 2.832 MB / 327.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.005987, allocations: 1.002 MB / 328.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.006168, allocations: 15 kB / 328.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.006435, allocations: 98.84 kB / 328.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.006642, allocations: 97.47 kB / 329 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.007207, allocations: 235.8 kB / 329.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006669/0.007873, allocations: 0.5651 MB / 329.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003105/0.008184, allocations: 145.2 kB / 330 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004676/0.008652, allocations: 266.8 kB / 330.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.008871, allocations: 126.8 kB / 330.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.436e-05/0.008935, allocations: 36.72 kB / 330.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.009072, allocations: 51.89 kB / 330.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.997e-05/0.009172, allocations: 89.06 kB / 330.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.009351, allocations: 138.2 kB / 330.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007615/0.01011, allocations: 0.588 MB / 331.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01012, allocations: 0 / 331.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01012, allocations: 0 / 331.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.01013, allocations: 0 / 331.2 MB, free: 12.52 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00109/0.01122, allocations: 0.6794 MB / 331.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.01126, allocations: 13.45 kB / 331.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.01147, allocations: 73.11 kB / 332 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006383/0.01211, allocations: 347.2 kB / 332.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.01214, allocations: 30.09 kB / 332.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.178e-05/0.01221, allocations: 46.48 kB / 332.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007783/0.01299, allocations: 492.1 kB / 332.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.01301, allocations: 6.438 kB / 332.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.975e-05/0.01305, allocations: 21 kB / 332.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.01307, allocations: 10.72 kB / 332.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.01359, allocations: 239.5 kB / 333.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/0.01601, allocations: 2.63 MB / 335.8 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.01649, allocations: 145.7 kB / 335.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.01663, allocations: 67.59 kB / 336 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.163e-05/0.01672, allocations: 16.42 kB / 336 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.01674, allocations: 33.25 kB / 336.1 MB, free: 8.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.01674, allocations: 0 / 336.1 MB, free: 8.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001338/0.01808, allocations: 0.5584 MB / 336.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.01812, allocations: 58.28 kB / 336.7 MB, free: 7.898 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.01851, allocations: 351.4 kB / 337 MB, free: 7.668 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.01853, allocations: 31.11 kB / 337 MB, free: 7.633 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.01876, allocations: 314.6 kB / 337.4 MB, free: 7.352 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.01881, allocations: 59.95 kB / 337.4 MB, free: 7.301 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.781e-05/0.01891, allocations: 76.39 kB / 337.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.01908, allocations: 347.3 kB / 337.8 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.01922, allocations: 67.5 kB / 337.9 MB, free: 6.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.01948, allocations: 214.5 kB / 338.1 MB, free: 6.645 MB / 302.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.0009791/0.02046, allocations: 451.8 kB / 338.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.02047, allocations: 1.312 kB / 338.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000636/0.0211, allocations: 352.6 kB / 338.9 MB, free: 6.109 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.02112, allocations: 14.73 kB / 338.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.02113, allocations: 5.562 kB / 338.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.02128, allocations: 36.78 kB / 338.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.02153, allocations: 73.81 kB / 339 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.02296, allocations: 1.507 MB / 340.5 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.02313, allocations: 15.81 kB / 340.5 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.02316, allocations: 18.05 kB / 340.6 MB, free: 4.57 MB / 302.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.0002209/0.02338, allocations: 168.9 kB / 340.7 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.02344, allocations: 36.67 kB / 340.8 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.84e-05/0.02351, allocations: 36.78 kB / 340.8 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.02351, allocations: 2.188 kB / 340.8 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.02352, allocations: 5.031 kB / 340.8 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.02353, allocations: 8.188 kB / 340.8 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009385/0.02446, allocations: 0.5623 MB / 341.4 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.02447, allocations: 0 / 341.4 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.02465, allocations: 31.8 kB / 341.4 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.393e-05/0.02473, allocations: 23.81 kB / 341.4 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.02475, allocations: 6.156 kB / 341.4 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.02583, allocations: 1.306 MB / 342.7 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.02584, allocations: 3.938 kB / 342.7 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/0.0264, allocations: 371.7 kB / 343.1 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.02645, allocations: 27.77 kB / 343.1 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.02648, allocations: 11.94 kB / 343.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.0266, allocations: 11.94 kB / 343.2 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.02665, allocations: 12.02 kB / 343.2 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.02667, allocations: 4 kB / 343.2 MB, free: 2.094 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002527/0.02692, allocations: 239.2 kB / 343.4 MB, free: 1.867 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02692, allocations: 64 / 343.4 MB, free: 1.867 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004741/0.02739, allocations: 75.94 kB / 343.5 MB, free: 1.793 MB / 302.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.0001349/0.02753, allocations: 107 kB / 343.6 MB, free: 1.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005863/0.02811, allocations: 298 kB / 343.9 MB, free: 1.383 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.02812, allocations: 4 kB / 343.9 MB, free: 1.379 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.02837, allocations: 178.5 kB / 344.1 MB, free: 1.191 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.02872, allocations: 45.66 kB / 344.1 MB, free: 1.145 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.03016, allocations: 0.7693 MB / 344.9 MB, free: 352 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.03038, allocations: 211.2 kB / 345.1 MB, free: 116 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.0305, allocations: 43.27 kB / 345.1 MB, free: 76 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.639e-05/0.03059, allocations: 36.47 kB / 345.2 MB, free: 40 kB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.03059, allocations: 4 kB / 345.2 MB, free: 36 kB / 302.1 MB Notification: Performance of Templates: time 0.007635/0.03822, allocations: 2.652 MB / 347.8 MB, free: 13.44 MB / 318.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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.391362614929676]