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.00142/0.00142, allocations: 108.4 kB / 17.73 MB, free: 5.324 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.001677/0.001677, allocations: 187 kB / 18.67 MB, free: 4.398 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.341/1.341, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009939/0.000994, allocations: 47.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2643, allocations: 49.42 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003917/0.2682, allocations: 3.068 MB / 404.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.2698, allocations: 0.9591 MB / 405.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.27, allocations: 11.94 kB / 405.4 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.2703, allocations: 95.05 kB / 405.5 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.2705, allocations: 99 kB / 405.6 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.271, allocations: 207.7 kB / 405.8 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004962/0.2715, allocations: 0.5566 MB / 406.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.2718, allocations: 222.7 kB / 406.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.272, allocations: 179.2 kB / 406.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.2722, allocations: 171 kB / 406.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.2723, allocations: 40 kB / 407 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.2724, allocations: 48 kB / 407 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.2725, allocations: 87.64 kB / 407.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.2726, allocations: 230.7 kB / 407.3 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005324/0.2732, allocations: 0.5809 MB / 407.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.2732, allocations: 0 / 407.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2732, allocations: 0 / 407.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.2732, allocations: 4 kB / 407.9 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.0008796/0.2741, allocations: 0.7397 MB / 408.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2741, allocations: 15.89 kB / 408.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.661e-05/0.2742, allocations: 67.95 kB / 408.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.2748, allocations: 418.3 kB / 409.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.2748, allocations: 29 kB / 409.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.2749, allocations: 47.91 kB / 409.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.2756, allocations: 487.4 kB / 409.7 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.2756, allocations: 4 kB / 409.7 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.2756, allocations: 20 kB / 409.7 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.2757, allocations: 12 kB / 409.7 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.2761, allocations: 246.1 kB / 410 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.2781, allocations: 2.823 MB / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.2785, allocations: 164.8 kB / 412.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.2786, allocations: 68.83 kB / 413 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.2787, allocations: 81.11 kB / 413.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.2788, allocations: 42.5 kB / 413.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.2788, allocations: 0 / 413.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001185/0.28, allocations: 0.6185 MB / 413.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.28, allocations: 55.31 kB / 413.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.2803, allocations: 337.7 kB / 414.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.2803, allocations: 37.7 kB / 414.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.2805, allocations: 302.9 kB / 414.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.2806, allocations: 63.09 kB / 414.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.625e-05/0.2807, allocations: 65.61 kB / 414.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2808, allocations: 350.7 kB / 414.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.2809, allocations: 63.97 kB / 415 MB, free: 10.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.2811, allocations: 227.5 kB / 415.2 MB, free: 10.47 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.0008521/0.282, allocations: 0.5097 MB / 415.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.282, allocations: 0 / 415.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005337/0.2826, allocations: 360.1 kB / 416.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.2826, allocations: 11.98 kB / 416.1 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.2826, allocations: 4 kB / 416.1 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.2827, allocations: 37.47 kB / 416.1 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.283, allocations: 79.91 kB / 416.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.2842, allocations: 1.631 MB / 417.8 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.2844, allocations: 19.94 kB / 417.9 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.2844, allocations: 16 kB / 417.9 MB, free: 7.57 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.0001976/0.2846, allocations: 175.7 kB / 418 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.2847, allocations: 35.56 kB / 418.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.358e-05/0.2847, allocations: 39.58 kB / 418.1 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2847, allocations: 8.062 kB / 418.1 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2848, allocations: 0 / 418.1 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2848, allocations: 0 / 418.1 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008917/0.2857, allocations: 0.7168 MB / 418.8 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2857, allocations: 0 / 418.8 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.2858, allocations: 31.98 kB / 418.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.513e-05/0.2859, allocations: 32.81 kB / 418.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.286, allocations: 4 kB / 418.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008791/0.2868, allocations: 1.434 MB / 420.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2869, allocations: 0 / 420.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.2873, allocations: 355.8 kB / 420.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.2874, allocations: 108.6 kB / 420.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.2874, allocations: 4 kB / 420.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2876, allocations: 12.06 kB / 420.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.2876, allocations: 15.86 kB / 420.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.2876, allocations: 8 kB / 420.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.2878, allocations: 231.2 kB / 421.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2878, allocations: 0 / 421.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004246/0.2883, allocations: 68 kB / 421.1 MB, free: 4.047 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.0001255/0.2884, allocations: 107.2 kB / 421.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005467/0.289, allocations: 318.3 kB / 421.5 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.289, allocations: 1.375 kB / 421.5 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.2892, allocations: 182.5 kB / 421.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.2895, allocations: 49.55 kB / 421.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.2908, allocations: 0.8742 MB / 422.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.2912, allocations: 0.8146 MB / 423.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/0.2913, allocations: 43.36 kB / 423.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of SimCode: time 1.924e-06/0.2913, allocations: 0 / 423.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of Templates: time 0.00795/0.2992, allocations: 6.481 MB / 430 MB, free: 11.09 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/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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches