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.001891/0.001891, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001552/0.001552, allocations: 210.8 kB / 24.48 MB, free: 3.934 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.484/1.484, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.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.002198/0.002198, allocations: 75.86 kB / 379 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2568, allocations: 53.41 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005279/0.2621, allocations: 2.824 MB / 435.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.2646, allocations: 0.9865 MB / 436.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004023/0.265, allocations: 19.81 kB / 436.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004751/0.2654, allocations: 95.03 kB / 436.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.2659, allocations: 107 kB / 436.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008038/0.2667, allocations: 231.6 kB / 436.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008561/0.2675, allocations: 0.5371 MB / 437.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/0.2679, allocations: 139.2 kB / 437.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.2682, allocations: 187.2 kB / 437.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.2684, allocations: 159 kB / 437.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.657e-05/0.2685, allocations: 36 kB / 437.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.2686, allocations: 60 kB / 437.7 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.2687, allocations: 95.56 kB / 437.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.2689, allocations: 175 kB / 438 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007455/0.2696, allocations: 0.5889 MB / 438.6 MB, free: 292 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2696, allocations: 7.938 kB / 438.6 MB, free: 284 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2696, allocations: 0 / 438.6 MB, free: 284 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.2696, allocations: 0 / 438.6 MB, free: 284 kB / 334.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.001066/0.2707, allocations: 0.6807 MB / 439.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2707, allocations: 15.98 kB / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.2709, allocations: 67.97 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/0.2716, allocations: 363.3 kB / 439.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.2716, allocations: 33 kB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.2717, allocations: 39.95 kB / 439.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007398/0.2724, allocations: 495.3 kB / 440.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.2725, allocations: 3.938 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.2725, allocations: 20 kB / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.2725, allocations: 11.94 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.273, allocations: 246.2 kB / 440.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.2753, allocations: 2.618 MB / 443.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.2757, allocations: 154.7 kB / 443.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.2759, allocations: 67.8 kB / 443.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.745e-05/0.2759, allocations: 7.984 kB / 443.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.276, allocations: 38.5 kB / 443.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.276, allocations: 0 / 443.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001229/0.2772, allocations: 0.5556 MB / 444 MB, free: 10.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.2772, allocations: 51.41 kB / 444 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.2777, allocations: 365.5 kB / 444.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.2777, allocations: 25.7 kB / 444.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.2779, allocations: 307.8 kB / 444.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/0.278, allocations: 71.36 kB / 444.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.2781, allocations: 69.61 kB / 444.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2782, allocations: 350.7 kB / 445.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.2784, allocations: 67.97 kB / 445.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.2786, allocations: 226.5 kB / 445.5 MB, free: 8.965 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.0009697/0.2796, allocations: 442.1 kB / 445.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2796, allocations: 3.938 kB / 445.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006232/0.2802, allocations: 364.4 kB / 446.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2803, allocations: 8 kB / 446.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.2803, allocations: 4.688 kB / 446.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.2804, allocations: 36.84 kB / 446.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.2807, allocations: 79.84 kB / 446.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.2821, allocations: 1.508 MB / 447.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.2822, allocations: 12 kB / 447.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.2823, allocations: 16 kB / 447.9 MB, free: 6.336 MB / 350.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.0002166/0.2825, allocations: 169.7 kB / 448.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.2825, allocations: 39.7 kB / 448.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.142e-05/0.2826, allocations: 43.59 kB / 448.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2826, allocations: 0 / 448.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2826, allocations: 4 kB / 448.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2826, allocations: 0 / 448.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009227/0.2835, allocations: 0.5622 MB / 448.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2835, allocations: 0 / 448.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.2837, allocations: 39.92 kB / 448.8 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.328e-05/0.2838, allocations: 24.84 kB / 448.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2838, allocations: 4.031 kB / 448.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.2849, allocations: 1.308 MB / 450.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2849, allocations: 0 / 450.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.2854, allocations: 375 kB / 450.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.2855, allocations: 31.8 kB / 450.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.2855, allocations: 4 kB / 450.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.2856, allocations: 8 kB / 450.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.2857, allocations: 20.03 kB / 450.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.2857, allocations: 4 kB / 450.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002506/0.2859, allocations: 235.2 kB / 450.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2859, allocations: 0 / 450.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004431/0.2864, allocations: 68 kB / 450.9 MB, free: 3.238 MB / 350.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.0001372/0.2865, allocations: 103.2 kB / 451 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005976/0.2871, allocations: 306.8 kB / 451.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2871, allocations: 4 kB / 451.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.2874, allocations: 174.6 kB / 451.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.2877, allocations: 42.25 kB / 451.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.2893, allocations: 0.9007 MB / 452.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.2895, allocations: 211.1 kB / 452.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.2896, allocations: 35.42 kB / 452.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2896, allocations: 0 / 452.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of Templates: time 0.01067/0.3003, allocations: 6.641 MB / 459.2 MB, free: 10.73 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 -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: 7.866430122870952]