Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001768/0.001768, allocations: 104 kB / 17.72 MB, free: 5.242 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.002285/0.002285, allocations: 188.1 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 51.92 kB / 328.5 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1078, allocations: 46.61 MB / 375.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004451/0.1123, allocations: 3.066 MB / 378.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1145, allocations: 1.007 MB / 379.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.1147, allocations: 11.94 kB / 379.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.115, allocations: 95.05 kB / 379.3 MB, free: 424 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.1152, allocations: 95 kB / 379.4 MB, free: 328 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.1158, allocations: 219.6 kB / 379.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2539/0.3697, allocations: 0.5357 MB / 380.1 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004209/0.3702, allocations: 227.7 kB / 380.4 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.3705, allocations: 175.5 kB / 380.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.3707, allocations: 181.3 kB / 380.7 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.711e-05/0.3708, allocations: 41.14 kB / 380.7 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.3709, allocations: 50.7 kB / 380.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.371, allocations: 88.73 kB / 380.9 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.3712, allocations: 222.6 kB / 381.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006873/0.3719, allocations: 0.5889 MB / 381.7 MB, free: 9.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3719, allocations: 0.7031 kB / 381.7 MB, free: 9.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3719, allocations: 0 / 381.7 MB, free: 9.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3719, allocations: 0.8438 kB / 381.7 MB, free: 9.48 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.001014/0.3729, allocations: 0.7336 MB / 382.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.373, allocations: 13.2 kB / 382.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.578e-05/0.3731, allocations: 57.86 kB / 382.5 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007164/0.3738, allocations: 426.4 kB / 382.9 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.3739, allocations: 30.62 kB / 382.9 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.851e-05/0.374, allocations: 40.72 kB / 383 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007909/0.3748, allocations: 490.6 kB / 383.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.3748, allocations: 6.375 kB / 383.5 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.3749, allocations: 19.36 kB / 383.5 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.3749, allocations: 10.25 kB / 383.5 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.3754, allocations: 247.1 kB / 383.7 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.3775, allocations: 2.82 MB / 386.6 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/0.378, allocations: 165.2 kB / 386.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.3781, allocations: 70.31 kB / 386.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.3782, allocations: 81.52 kB / 386.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.3783, allocations: 39.02 kB / 386.9 MB, free: 6.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.3783, allocations: 0 / 386.9 MB, free: 6.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001321/0.3796, allocations: 0.6245 MB / 387.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.3796, allocations: 54.06 kB / 387.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.38, allocations: 341.8 kB / 387.9 MB, free: 5.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.38, allocations: 29.7 kB / 387.9 MB, free: 5.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.3802, allocations: 301.9 kB / 388.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.3802, allocations: 70.81 kB / 388.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.894e-05/0.3803, allocations: 70.05 kB / 388.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.3804, allocations: 346.3 kB / 388.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3806, allocations: 64.27 kB / 388.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.3808, allocations: 218.6 kB / 389 MB, free: 4.41 MB / 318.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.0008785/0.3816, allocations: 0.5188 MB / 389.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3817, allocations: 2.078 kB / 389.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005508/0.3822, allocations: 353.1 kB / 389.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.3823, allocations: 12.09 kB / 389.9 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3823, allocations: 5.156 kB / 389.9 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.3825, allocations: 36.83 kB / 389.9 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.3827, allocations: 80.52 kB / 390 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00095/0.3837, allocations: 1.64 MB / 391.6 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.3838, allocations: 12.14 kB / 391.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3839, allocations: 17.56 kB / 391.7 MB, free: 2.25 MB / 318.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.0001621/0.384, allocations: 166.6 kB / 391.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.3841, allocations: 36.58 kB / 391.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.361e-05/0.3842, allocations: 39.55 kB / 391.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.3842, allocations: 5.125 kB / 391.9 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.3842, allocations: 5.125 kB / 391.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3842, allocations: 5 kB / 391.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009079/0.3851, allocations: 0.7108 MB / 392.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3851, allocations: 3.844 kB / 392.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.3853, allocations: 37.75 kB / 392.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.531e-05/0.3854, allocations: 23.14 kB / 392.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3854, allocations: 1.25 kB / 392.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000763/0.3862, allocations: 1.431 MB / 394.1 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3862, allocations: 0 / 394.1 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.3868, allocations: 371.8 kB / 394.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/0.3869, allocations: 105 kB / 394.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.387, allocations: 6.812 kB / 394.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.3871, allocations: 3.422 kB / 394.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.3871, allocations: 15.62 kB / 394.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3872, allocations: 3.953 kB / 394.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002804/0.3874, allocations: 240.6 kB / 394.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.02e-07/0.3874, allocations: 1.156 kB / 394.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004543/0.3879, allocations: 67.69 kB / 394.9 MB, free: 15.58 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.0001487/0.3881, allocations: 95.52 kB / 395 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006362/0.3887, allocations: 322.4 kB / 395.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3887, allocations: 3.938 kB / 395.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.389, allocations: 182 kB / 395.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.3894, allocations: 42.2 kB / 395.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.3911, allocations: 0.8406 MB / 396.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/0.3917, allocations: 0.8126 MB / 397.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.3918, allocations: 41.86 kB / 397.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/0.3919, allocations: 30.11 kB / 397.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3919, allocations: 4 kB / 397.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of Templates: time 0.009322/0.4013, allocations: 2.78 MB / 400 MB, free: 13.61 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches