Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 109.1 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 200 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009186/0.0009186, allocations: 39.94 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2418, allocations: 49.44 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003819/0.2456, allocations: 3.055 MB / 403.8 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.2475, allocations: 0.9708 MB / 404.7 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.2478, allocations: 11.94 kB / 404.7 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.2481, allocations: 95.05 kB / 404.8 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.2483, allocations: 103 kB / 404.9 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.2489, allocations: 211.6 kB / 405.1 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006017/0.2495, allocations: 0.5527 MB / 405.7 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003351/0.2498, allocations: 222.7 kB / 405.9 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.25, allocations: 175.2 kB / 406.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.2502, allocations: 178.9 kB / 406.3 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.681e-05/0.2503, allocations: 40 kB / 406.3 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.2504, allocations: 48 kB / 406.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.901e-05/0.2505, allocations: 87.64 kB / 406.4 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.2507, allocations: 226.7 kB / 406.7 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005284/0.2512, allocations: 0.581 MB / 407.2 MB, free: 2.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.506e-05/0.2512, allocations: 0 / 407.2 MB, free: 2.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.2512, allocations: 3.938 kB / 407.2 MB, free: 2.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.2512, allocations: 3.938 kB / 407.2 MB, free: 2.316 MB / 318.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.001044/0.2523, allocations: 0.7328 MB / 408 MB, free: 1.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2523, allocations: 11.89 kB / 408 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.141e-05/0.2524, allocations: 60.03 kB / 408 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000643/0.2531, allocations: 422.3 kB / 408.5 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.2531, allocations: 29 kB / 408.5 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/0.2532, allocations: 43.91 kB / 408.5 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007205/0.2539, allocations: 491.4 kB / 409 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.2539, allocations: 4 kB / 409 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.254, allocations: 16 kB / 409 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.254, allocations: 12 kB / 409 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.2545, allocations: 250.1 kB / 409.3 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.2566, allocations: 2.823 MB / 412.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.2571, allocations: 158.7 kB / 412.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.2572, allocations: 72.77 kB / 412.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.2573, allocations: 85.11 kB / 412.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.2574, allocations: 38.5 kB / 412.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 2.915e-06/0.2574, allocations: 4 kB / 412.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.00125/0.2586, allocations: 0.628 MB / 413.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.2587, allocations: 55.31 kB / 413.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.259, allocations: 337.7 kB / 413.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.259, allocations: 33.7 kB / 413.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.2592, allocations: 294.9 kB / 413.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/0.2593, allocations: 75.08 kB / 413.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.56e-05/0.2594, allocations: 65.61 kB / 413.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2595, allocations: 350.7 kB / 414.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.2597, allocations: 63.97 kB / 414.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.2599, allocations: 219.5 kB / 414.5 MB, free: 10.48 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.0009087/0.2608, allocations: 0.5174 MB / 415.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2608, allocations: 0 / 415.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005582/0.2614, allocations: 356.1 kB / 415.4 MB, free: 9.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2614, allocations: 11.94 kB / 415.4 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2614, allocations: 7.984 kB / 415.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.2616, allocations: 36.84 kB / 415.5 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.2618, allocations: 76.47 kB / 415.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.263, allocations: 1.627 MB / 417.2 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.2632, allocations: 16.05 kB / 417.2 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.2632, allocations: 20 kB / 417.2 MB, free: 7.582 MB / 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.0001805/0.2634, allocations: 165.7 kB / 417.4 MB, free: 7.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.2635, allocations: 35.56 kB / 417.4 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.324e-05/0.2636, allocations: 43.58 kB / 417.4 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2636, allocations: 4 kB / 417.4 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2636, allocations: 4.078 kB / 417.5 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2636, allocations: 3.984 kB / 417.5 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009175/0.2645, allocations: 0.7176 MB / 418.2 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2645, allocations: 0 / 418.2 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.2647, allocations: 35.98 kB / 418.2 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.482e-05/0.2648, allocations: 28.78 kB / 418.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2648, allocations: 0 / 418.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009496/0.2658, allocations: 1.43 MB / 419.7 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.2658, allocations: 3.938 kB / 419.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.2663, allocations: 357.2 kB / 420 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.2664, allocations: 108.7 kB / 420.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.2664, allocations: 8 kB / 420.1 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.2665, allocations: 8 kB / 420.1 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.2666, allocations: 15.86 kB / 420.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.2666, allocations: 8 kB / 420.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.2668, allocations: 235.2 kB / 420.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2668, allocations: 0 / 420.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004223/0.2672, allocations: 68 kB / 420.5 MB, free: 4.055 MB / 334.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.0001041/0.2674, allocations: 103.4 kB / 420.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005235/0.2679, allocations: 314.7 kB / 420.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2679, allocations: 0 / 420.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.2681, allocations: 182.5 kB / 421 MB, free: 3.434 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.2685, allocations: 50.58 kB / 421.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.2697, allocations: 0.8474 MB / 421.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.2701, allocations: 0.8146 MB / 422.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.2703, allocations: 47.2 kB / 422.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.2703, allocations: 31.42 kB / 422.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2703, allocations: 0 / 422.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of Templates: time 0.006308/0.2767, allocations: 2.749 MB / 425.6 MB, free: 14.85 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches