Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.422/1.422, allocations: 227.7 MB / 247.9 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 64.05 kB / 359.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2288, allocations: 50.55 MB / 410.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004259/0.2331, allocations: 3.08 MB / 413.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.2348, allocations: 1.025 MB / 414.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.235, allocations: 15.88 kB / 414.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.2352, allocations: 95.05 kB / 414.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.2354, allocations: 103 kB / 414.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.2359, allocations: 227.6 kB / 414.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005498/0.2364, allocations: 0.5371 MB / 415.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.2367, allocations: 150.7 kB / 415.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.237, allocations: 187.2 kB / 415.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.2372, allocations: 186.9 kB / 415.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.188e-05/0.2372, allocations: 36 kB / 415.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2373, allocations: 59.88 kB / 415.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.301e-05/0.2374, allocations: 91.64 kB / 416 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.2376, allocations: 226.7 kB / 416.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006057/0.2382, allocations: 0.5832 MB / 416.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2382, allocations: 0 / 416.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2382, allocations: 0 / 416.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.2382, allocations: 0 / 416.8 MB, free: 10.86 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.001021/0.2392, allocations: 0.7595 MB / 417.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2393, allocations: 12.03 kB / 417.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.2395, allocations: 72.3 kB / 417.6 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006142/0.2401, allocations: 418.6 kB / 418 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.2401, allocations: 29 kB / 418 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.2402, allocations: 51.89 kB / 418.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007223/0.2409, allocations: 491.3 kB / 418.6 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.2409, allocations: 7.938 kB / 418.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.241, allocations: 20 kB / 418.6 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.241, allocations: 12 kB / 418.6 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/0.2415, allocations: 242.1 kB / 418.8 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.2439, allocations: 2.827 MB / 421.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.2444, allocations: 146.7 kB / 421.8 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.2445, allocations: 64.88 kB / 421.9 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.2446, allocations: 85.11 kB / 422 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.2447, allocations: 38.44 kB / 422 MB, free: 5.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.2447, allocations: 0 / 422 MB, free: 5.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001258/0.2459, allocations: 0.6337 MB / 422.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.246, allocations: 51.41 kB / 422.7 MB, free: 4.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.2463, allocations: 349.6 kB / 423 MB, free: 4.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2463, allocations: 29.7 kB / 423.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.2466, allocations: 307.8 kB / 423.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.619e-05/0.2466, allocations: 71.41 kB / 423.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.18e-05/0.2467, allocations: 69.61 kB / 423.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.2469, allocations: 350.7 kB / 423.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.2471, allocations: 71.95 kB / 423.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.2473, allocations: 215.4 kB / 424.1 MB, free: 2.984 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.0009592/0.2483, allocations: 0.5172 MB / 424.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2483, allocations: 4 kB / 424.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005941/0.2489, allocations: 360.1 kB / 425 MB, free: 2.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2489, allocations: 8 kB / 425 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.2489, allocations: 7.984 kB / 425 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001382/0.249, allocations: 32.84 kB / 425 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.2493, allocations: 80.41 kB / 425.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.2507, allocations: 1.628 MB / 426.7 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.2508, allocations: 16.06 kB / 426.8 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.2509, allocations: 16 kB / 426.8 MB, free: 88 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.0002056/0.2511, allocations: 173.7 kB / 426.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.2511, allocations: 39.7 kB / 427 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.112e-05/0.2512, allocations: 39.53 kB / 427 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2512, allocations: 4 kB / 427 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.2512, allocations: 0 / 427 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2512, allocations: 0 / 427 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009851/0.2522, allocations: 0.7142 MB / 427.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2522, allocations: 0 / 427.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.2524, allocations: 31.98 kB / 427.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.453e-05/0.2525, allocations: 28.97 kB / 427.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.2525, allocations: 4 kB / 427.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.2536, allocations: 1.438 MB / 429.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2536, allocations: 0 / 429.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005198/0.2541, allocations: 368.5 kB / 429.6 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.2542, allocations: 112.9 kB / 429.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.2542, allocations: 0 / 429.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.2543, allocations: 8 kB / 429.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.2544, allocations: 15.95 kB / 429.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.2544, allocations: 12 kB / 429.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.2546, allocations: 235.2 kB / 430 MB, free: 12.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2546, allocations: 0 / 430 MB, free: 12.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003982/0.255, allocations: 64 kB / 430 MB, free: 12.55 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.0001114/0.2551, allocations: 107.2 kB / 430.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005797/0.2557, allocations: 305.9 kB / 430.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2557, allocations: 0 / 430.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.2559, allocations: 182.5 kB / 430.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.2563, allocations: 38.44 kB / 430.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.2577, allocations: 0.8596 MB / 431.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.2581, allocations: 0.8146 MB / 432.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.2582, allocations: 43.27 kB / 432.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.2583, allocations: 31.44 kB / 432.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2583, allocations: 0 / 432.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Templates: time 0.007225/0.2655, allocations: 2.785 MB / 435.2 MB, free: 7.324 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches