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) 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.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001458/0.001458, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00186/0.001861, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 60 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08944/0.09066, allocations: 50.52 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004314/0.09503, allocations: 3.074 MB / 362 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.09694, allocations: 1.033 MB / 363 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.09717, allocations: 15.94 kB / 363 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.09745, allocations: 99.05 kB / 363.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.09763, allocations: 87.03 kB / 363.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.09812, allocations: 235.5 kB / 363.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004961/0.09863, allocations: 0.541 MB / 364 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.09896, allocations: 226.6 kB / 364.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.09924, allocations: 175.3 kB / 364.4 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.09944, allocations: 182.9 kB / 364.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.0995, allocations: 36 kB / 364.6 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.09961, allocations: 59.98 kB / 364.6 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.09969, allocations: 87.62 kB / 364.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.09986, allocations: 230.7 kB / 364.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004796/0.1003, allocations: 0.5682 MB / 365.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1004, allocations: 3.938 kB / 365.5 MB, free: 6.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.1004, allocations: 4 kB / 365.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1004, allocations: 0 / 365.5 MB, free: 6.68 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.0009467/0.1013, allocations: 0.7443 MB / 366.3 MB, free: 5.887 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.1014, allocations: 12.03 kB / 366.3 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.1016, allocations: 68.02 kB / 366.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005719/0.1022, allocations: 426.3 kB / 366.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.1022, allocations: 29 kB / 366.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.1023, allocations: 43.91 kB / 366.8 MB, free: 5.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.1029, allocations: 487.4 kB / 367.3 MB, free: 4.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.1029, allocations: 7.938 kB / 367.3 MB, free: 4.723 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.103, allocations: 23.98 kB / 367.3 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.103, allocations: 12 kB / 367.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004601/0.1035, allocations: 246.1 kB / 367.6 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.1055, allocations: 2.815 MB / 370.4 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.1059, allocations: 161.9 kB / 370.6 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.106, allocations: 76.83 kB / 370.6 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.1061, allocations: 81.11 kB / 370.7 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.1062, allocations: 42.5 kB / 370.8 MB, free: 1.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.1062, allocations: 0 / 370.8 MB, free: 1.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001193/0.1074, allocations: 0.6185 MB / 371.4 MB, free: 424 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.1074, allocations: 55.31 kB / 371.4 MB, free: 356 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.1077, allocations: 345.6 kB / 371.8 MB, free: 0 / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.1676/0.2753, allocations: 30.7 kB / 371.8 MB, free: 20.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.2756, allocations: 295.3 kB / 372.1 MB, free: 20.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.595e-05/0.2757, allocations: 68.8 kB / 372.2 MB, free: 20.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.2759, allocations: 68.78 kB / 372.2 MB, free: 20.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.276, allocations: 350.3 kB / 372.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.2762, allocations: 64.75 kB / 372.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.2764, allocations: 216.5 kB / 372.8 MB, free: 19.98 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.0009745/0.2774, allocations: 0.5129 MB / 373.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2774, allocations: 6.812 kB / 373.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006387/0.278, allocations: 363.8 kB / 373.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.2781, allocations: 7.844 kB / 373.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.2781, allocations: 5.812 kB / 373.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/0.2783, allocations: 34.8 kB / 373.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.2785, allocations: 74.42 kB / 373.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.2796, allocations: 1.643 MB / 375.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.2798, allocations: 12.38 kB / 375.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.2798, allocations: 22.42 kB / 375.5 MB, free: 18.04 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.0001887/0.28, allocations: 170.7 kB / 375.7 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.2801, allocations: 35.66 kB / 375.7 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.684e-05/0.2801, allocations: 43.83 kB / 375.8 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2801, allocations: 1.344 kB / 375.8 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2801, allocations: 1.125 kB / 375.8 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2802, allocations: 1.312 kB / 375.8 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009329/0.2811, allocations: 0.7204 MB / 376.5 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2811, allocations: 5.172 kB / 376.5 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.2813, allocations: 32.22 kB / 376.5 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.177e-05/0.2814, allocations: 23.83 kB / 376.5 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.2814, allocations: 5.906 kB / 376.5 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007286/0.2821, allocations: 1.428 MB / 378 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2821, allocations: 4.656 kB / 378 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.2826, allocations: 360.5 kB / 378.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.2827, allocations: 105.7 kB / 378.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.2827, allocations: 8.312 kB / 378.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.2829, allocations: 7.312 kB / 378.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.2829, allocations: 15.03 kB / 378.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.283, allocations: 6.438 kB / 378.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002503/0.2832, allocations: 237.6 kB / 378.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2832, allocations: 0 / 378.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004262/0.2836, allocations: 67.75 kB / 378.8 MB, free: 15.37 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.0001012/0.2838, allocations: 102.1 kB / 378.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005182/0.2843, allocations: 320.2 kB / 379.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2843, allocations: 0 / 379.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.2845, allocations: 183.8 kB / 379.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.2848, allocations: 46.34 kB / 379.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.2862, allocations: 0.8371 MB / 380.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.2865, allocations: 0.8132 MB / 381.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.2866, allocations: 43.31 kB / 381.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.2867, allocations: 34.36 kB / 381.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2867, allocations: 0 / 381.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of Templates: time 0.00752/0.2942, allocations: 2.679 MB / 383.8 MB, free: 13.49 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (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 gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches