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.001701/0.001701, allocations: 99.39 kB / 18.35 MB, free: 4.648 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.001841/0.001841, allocations: 192 kB / 19.29 MB, free: 3.715 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.394/1.394, allocations: 205.1 MB / 225.2 MB, free: 12.27 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: 59.92 kB / 282.1 MB, free: 2.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.0903, allocations: 46.62 MB / 328.7 MB, free: 3.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004294/0.09463, allocations: 3.054 MB / 331.8 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.09645, allocations: 1.003 MB / 332.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.09665, allocations: 11.94 kB / 332.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.09695, allocations: 99.05 kB / 332.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.09714, allocations: 95 kB / 333 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.09764, allocations: 215.6 kB / 333.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005363/0.09819, allocations: 0.5449 MB / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003448/0.09854, allocations: 222.7 kB / 334 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.09876, allocations: 175.2 kB / 334.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.09897, allocations: 179 kB / 334.3 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.873e-05/0.09903, allocations: 36 kB / 334.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.09914, allocations: 52 kB / 334.4 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/0.09922, allocations: 91.64 kB / 334.5 MB, free: 14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.09942, allocations: 226.7 kB / 334.7 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.09993, allocations: 0.572 MB / 335.3 MB, free: 13.21 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.09994, allocations: 4 kB / 335.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.09995, allocations: 0 / 335.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.09996, allocations: 0 / 335.3 MB, free: 13.2 MB / 286.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.0009657/0.1009, allocations: 0.7406 MB / 336 MB, free: 12.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.101, allocations: 15.89 kB / 336 MB, free: 12.4 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.066e-05/0.1011, allocations: 59.94 kB / 336.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006214/0.1017, allocations: 422.3 kB / 336.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.1017, allocations: 32.94 kB / 336.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.1018, allocations: 36 kB / 336.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.1025, allocations: 495.3 kB / 337.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.1025, allocations: 4 kB / 337.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.1026, allocations: 19.94 kB / 337.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1026, allocations: 12 kB / 337.1 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/0.1031, allocations: 246.2 kB / 337.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.1054, allocations: 2.819 MB / 340.1 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.1058, allocations: 162.6 kB / 340.3 MB, free: 7.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.106, allocations: 76.81 kB / 340.4 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.1061, allocations: 85.09 kB / 340.5 MB, free: 7.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1062, allocations: 42.5 kB / 340.5 MB, free: 7.609 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.1062, allocations: 0 / 340.5 MB, free: 7.609 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001311/0.1075, allocations: 0.623 MB / 341.1 MB, free: 6.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.1075, allocations: 51.41 kB / 341.2 MB, free: 6.867 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/0.108, allocations: 345.5 kB / 341.5 MB, free: 6.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.108, allocations: 29.7 kB / 341.5 MB, free: 6.484 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.1082, allocations: 303 kB / 341.8 MB, free: 6.184 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.1083, allocations: 63.11 kB / 341.9 MB, free: 6.121 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.1084, allocations: 73.55 kB / 342 MB, free: 6.043 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1086, allocations: 354.7 kB / 342.3 MB, free: 5.688 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.1087, allocations: 63.97 kB / 342.4 MB, free: 5.625 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.109, allocations: 215.4 kB / 342.6 MB, free: 5.344 MB / 286.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.0008972/0.1099, allocations: 0.5082 MB / 343.1 MB, free: 4.746 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1099, allocations: 7.938 kB / 343.1 MB, free: 4.738 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005428/0.1104, allocations: 361.8 kB / 343.5 MB, free: 4.375 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1105, allocations: 8 kB / 343.5 MB, free: 4.367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1105, allocations: 4 kB / 343.5 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000132/0.1106, allocations: 32.84 kB / 343.5 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.1109, allocations: 75.84 kB / 343.6 MB, free: 4.254 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.1121, allocations: 1.635 MB / 345.2 MB, free: 2.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.1123, allocations: 16 kB / 345.2 MB, free: 2.461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.1123, allocations: 12 kB / 345.2 MB, free: 2.449 MB / 286.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.0002114/0.1125, allocations: 181.7 kB / 345.4 MB, free: 2.262 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.1126, allocations: 43.47 kB / 345.5 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.024e-05/0.1127, allocations: 35.59 kB / 345.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1127, allocations: 0 / 345.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1127, allocations: 4 kB / 345.5 MB, free: 2.18 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1127, allocations: 3.984 kB / 345.5 MB, free: 2.176 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009359/0.1136, allocations: 0.7038 MB / 346.2 MB, free: 1.398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1136, allocations: 0 / 346.2 MB, free: 1.398 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.1138, allocations: 39.92 kB / 346.2 MB, free: 1.359 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.543e-05/0.1139, allocations: 24.84 kB / 346.3 MB, free: 1.332 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1139, allocations: 4 kB / 346.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009829/0.1149, allocations: 1.43 MB / 347.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.1149, allocations: 12.02 kB / 347.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/0.1155, allocations: 376 kB / 348.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.1155, allocations: 100.7 kB / 348.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1156, allocations: 8 kB / 348.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1157, allocations: 8.031 kB / 348.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.1158, allocations: 15.92 kB / 348.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1158, allocations: 4 kB / 348.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002205/0.116, allocations: 235.2 kB / 348.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.116, allocations: 4 kB / 348.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004185/0.1164, allocations: 68 kB / 348.5 MB, free: 14.91 MB / 302.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.0001063/0.1165, allocations: 95.25 kB / 348.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005589/0.1171, allocations: 319.6 kB / 348.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1171, allocations: 0 / 348.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.1173, allocations: 184.6 kB / 349.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.1177, allocations: 29.56 kB / 349.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.1191, allocations: 0.8412 MB / 350 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.1195, allocations: 0.8185 MB / 350.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.1196, allocations: 43.2 kB / 350.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.1197, allocations: 27.44 kB / 350.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1197, allocations: 0 / 350.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of Templates: time 0.006688/0.1264, allocations: 2.677 MB / 353.5 MB, free: 9.809 MB / 302.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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