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.001369/0.001369, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2476, allocations: 50.54 MB / 409.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004067/0.2517, allocations: 3.069 MB / 413 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.2535, allocations: 1.025 MB / 414 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.2537, allocations: 11.94 kB / 414 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.254, allocations: 99.05 kB / 414.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.2542, allocations: 98.94 kB / 414.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005271/0.2547, allocations: 227.6 kB / 414.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005508/0.2553, allocations: 0.5487 MB / 415 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.2556, allocations: 218.7 kB / 415.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.2559, allocations: 179.2 kB / 415.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.2561, allocations: 182.9 kB / 415.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.48e-05/0.2562, allocations: 36 kB / 415.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.2563, allocations: 67.98 kB / 415.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.87e-05/0.2564, allocations: 87.62 kB / 415.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.2566, allocations: 230.7 kB / 416 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.2572, allocations: 0.5887 MB / 416.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2572, allocations: 0 / 416.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2572, allocations: 0 / 416.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.2572, allocations: 0 / 416.5 MB, free: 10.81 MB / 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.0009751/0.2582, allocations: 0.7328 MB / 417.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2582, allocations: 12.03 kB / 417.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.2584, allocations: 71.92 kB / 417.4 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.259, allocations: 426.3 kB / 417.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.259, allocations: 29 kB / 417.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.2591, allocations: 36 kB / 417.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.2598, allocations: 495.2 kB / 418.3 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.2598, allocations: 7.984 kB / 418.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.2599, allocations: 16 kB / 418.4 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2599, allocations: 15.94 kB / 418.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.2604, allocations: 246.1 kB / 418.6 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.2625, allocations: 2.819 MB / 421.4 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.263, allocations: 162.7 kB / 421.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.2631, allocations: 68.83 kB / 421.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.2632, allocations: 81.11 kB / 421.7 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.2633, allocations: 46.5 kB / 421.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.2633, allocations: 0 / 421.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001257/0.2646, allocations: 0.6262 MB / 422.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.2646, allocations: 51.41 kB / 422.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.265, allocations: 345.6 kB / 422.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.265, allocations: 29.7 kB / 422.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.2652, allocations: 295 kB / 423.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.2652, allocations: 75.02 kB / 423.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.653e-05/0.2653, allocations: 73.56 kB / 423.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2655, allocations: 350.7 kB / 423.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.2656, allocations: 63.97 kB / 423.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.2658, allocations: 223.4 kB / 423.9 MB, free: 2.957 MB / 334.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.000917/0.2668, allocations: 0.515 MB / 424.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2668, allocations: 0 / 424.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005827/0.2674, allocations: 364 kB / 424.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2674, allocations: 8 kB / 424.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.2674, allocations: 4 kB / 424.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.2675, allocations: 36.84 kB / 424.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.2678, allocations: 71.91 kB / 424.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.2691, allocations: 1.636 MB / 426.5 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.2693, allocations: 16 kB / 426.5 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.2693, allocations: 15.98 kB / 426.5 MB, free: 68 kB / 334.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.0002646/0.2696, allocations: 181.7 kB / 426.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.2697, allocations: 39.47 kB / 426.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.976e-05/0.2698, allocations: 43.58 kB / 426.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2698, allocations: 0 / 426.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2698, allocations: 0 / 426.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.2698, allocations: 0 / 426.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.2709, allocations: 0.7215 MB / 427.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2709, allocations: 0 / 427.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.2711, allocations: 27.98 kB / 427.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.989e-05/0.2711, allocations: 28.78 kB / 427.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.2712, allocations: 12 kB / 427.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009703/0.2722, allocations: 1.43 MB / 429 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2722, allocations: 0 / 429 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.2727, allocations: 371.8 kB / 429.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.2727, allocations: 104.6 kB / 429.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.2728, allocations: 0 / 429.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.2729, allocations: 8 kB / 429.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.273, allocations: 19.91 kB / 429.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.273, allocations: 7.984 kB / 429.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.2732, allocations: 235.2 kB / 429.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2732, allocations: 4 kB / 429.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004351/0.2737, allocations: 68 kB / 429.8 MB, free: 12.52 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.0001203/0.2738, allocations: 99.25 kB / 429.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000537/0.2743, allocations: 315.6 kB / 430.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2743, allocations: 4 kB / 430.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.2746, allocations: 178.6 kB / 430.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.2749, allocations: 37.48 kB / 430.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.2763, allocations: 0.8742 MB / 431.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.2767, allocations: 0.8146 MB / 432.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.252e-05/0.2768, allocations: 31.44 kB / 432.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.2768, allocations: 0 / 432.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Templates: time 0.008745/0.2855, allocations: 6.458 MB / 438.6 MB, free: 3.613 MB / 350.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 -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