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.001898/0.001898, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 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.001957/0.001957, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.632/1.632, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 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 / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.705e-05, allocations: 5.125 kB / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005106/0.005133, allocations: 2.976 MB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.007327, allocations: 1.014 MB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.007538, allocations: 15.88 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.007806, allocations: 95.03 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004484/0.008255, allocations: 106.9 kB / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.008812, allocations: 235.5 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006795/0.009492, allocations: 0.5564 MB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.009797, allocations: 147.2 kB / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004275/0.01022, allocations: 275.3 kB / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.01045, allocations: 119.5 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.524e-05/0.01051, allocations: 40 kB / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.01065, allocations: 59.97 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.349e-05/0.01074, allocations: 95.55 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.01091, allocations: 139.6 kB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000748/0.01166, allocations: 0.576 MB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.01166, allocations: 0 / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01166, allocations: 0 / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.01167, allocations: 0 / 278.6 MB, free: 11.38 MB / 266.7 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.001224/0.01289, allocations: 0.8189 MB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.01294, allocations: 11.98 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.01322, allocations: 108.3 kB / 279.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006943/0.01391, allocations: 374.4 kB / 279.9 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.01395, allocations: 29 kB / 279.9 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/0.01403, allocations: 47.95 kB / 280 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000936/0.01497, allocations: 0.5628 MB / 280.5 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.01499, allocations: 4 kB / 280.5 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.01503, allocations: 16 kB / 280.6 MB, free: 9.242 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.01505, allocations: 12 kB / 280.6 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005274/0.01558, allocations: 234.2 kB / 280.8 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003762/0.01934, allocations: 3.83 MB / 284.6 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.01981, allocations: 163.2 kB / 284.8 MB, free: 4.848 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.01995, allocations: 59.67 kB / 284.8 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.02006, allocations: 15.98 kB / 284.9 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.02009, allocations: 37.33 kB / 284.9 MB, free: 4.723 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.02009, allocations: 0 / 284.9 MB, free: 4.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001364/0.02146, allocations: 0.5696 MB / 285.5 MB, free: 4.113 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.02151, allocations: 59.3 kB / 285.5 MB, free: 4.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005476/0.02206, allocations: 486.6 kB / 286 MB, free: 3.555 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.02208, allocations: 25.7 kB / 286 MB, free: 3.523 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/0.02241, allocations: 374.5 kB / 286.4 MB, free: 3.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.72e-05/0.02249, allocations: 75.42 kB / 286.5 MB, free: 3.074 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.02261, allocations: 79.31 kB / 286.5 MB, free: 2.988 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003265/0.02294, allocations: 0.5391 MB / 287.1 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.02308, allocations: 59.97 kB / 287.1 MB, free: 2.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.02345, allocations: 292.7 kB / 287.4 MB, free: 1.996 MB / 266.7 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.001052/0.0245, allocations: 0.5105 MB / 287.9 MB, free: 1.391 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.02451, allocations: 3.984 kB / 287.9 MB, free: 1.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006549/0.02517, allocations: 372.5 kB / 288.3 MB, free: 1.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.02519, allocations: 11.94 kB / 288.3 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.0252, allocations: 4 kB / 288.3 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/0.02539, allocations: 47.66 kB / 288.4 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.02563, allocations: 68.5 kB / 288.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.02783, allocations: 2.134 MB / 290.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.02798, allocations: 12 kB / 290.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.02801, allocations: 20 kB / 290.6 MB, free: 14.59 MB / 282.7 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.0002667/0.02828, allocations: 216.4 kB / 290.8 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.02835, allocations: 39.77 kB / 290.8 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.65e-05/0.02843, allocations: 43.52 kB / 290.9 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.02843, allocations: 4.031 kB / 290.9 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.02844, allocations: 7.938 kB / 290.9 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.02844, allocations: 0 / 290.9 MB, free: 14.28 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.02959, allocations: 0.6958 MB / 291.6 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.0296, allocations: 4 kB / 291.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.02978, allocations: 31.92 kB / 291.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.02989, allocations: 35.8 kB / 291.7 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.02991, allocations: 4 kB / 291.7 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.03145, allocations: 1.83 MB / 293.5 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.03145, allocations: 3.938 kB / 293.5 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006194/0.03207, allocations: 422.5 kB / 293.9 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.03213, allocations: 31.75 kB / 293.9 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.03216, allocations: 7.938 kB / 294 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.03226, allocations: 4 kB / 294 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.03232, allocations: 11.98 kB / 294 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.03233, allocations: 12.02 kB / 294 MB, free: 10.99 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003276/0.03266, allocations: 299.1 kB / 294.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03266, allocations: 0 / 294.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004347/0.03309, allocations: 68 kB / 294.3 MB, free: 10.64 MB / 282.7 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.0001352/0.03323, allocations: 99.25 kB / 294.4 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000665/0.03389, allocations: 385.8 kB / 294.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.0339, allocations: 4 kB / 294.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.03419, allocations: 245.5 kB / 295.1 MB, free: 9.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.03453, allocations: 48.69 kB / 295.1 MB, free: 9.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.036, allocations: 0.8071 MB / 295.9 MB, free: 8.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.03625, allocations: 215.1 kB / 296.1 MB, free: 8.746 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.03636, allocations: 39.22 kB / 296.2 MB, free: 8.707 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.03644, allocations: 36.48 kB / 296.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03644, allocations: 0 / 296.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of Templates: time 0.008231/0.04467, allocations: 2.701 MB / 298.9 MB, free: 6.035 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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.55249492591247]