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.0008014/0.0008016, allocations: 91.81 kB / 16.65 MB, free: 6.59 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.0009124/0.0009125, allocations: 182.7 kB / 17.56 MB, free: 6.203 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.309/1.309, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002472/0.0002473, allocations: 8.656 kB / 301.4 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09109/0.09135, allocations: 50.41 MB / 351.8 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002993/0.09439, allocations: 2.702 MB / 354.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.09603, allocations: 0.9436 MB / 355.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.09633, allocations: 7.938 kB / 355.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.09656, allocations: 71.42 kB / 355.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.09676, allocations: 79.27 kB / 355.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.09723, allocations: 187.8 kB / 355.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000462/0.0977, allocations: 0.5059 MB / 356.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.09801, allocations: 198.2 kB / 356.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.09818, allocations: 131.3 kB / 356.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.09836, allocations: 159 kB / 356.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.0984, allocations: 12 kB / 356.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-05/0.0985, allocations: 35.94 kB / 356.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.09856, allocations: 59.66 kB / 356.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.09873, allocations: 220.4 kB / 357.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.09917, allocations: 0.4944 MB / 357.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.09918, allocations: 0 / 357.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09919, allocations: 0 / 357.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.0992, allocations: 0 / 357.6 MB, free: 13.64 MB / 302.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.0008154/0.1, allocations: 0.6588 MB / 358.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1001, allocations: 11.97 kB / 358.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.6e-05/0.1001, allocations: 60.03 kB / 358.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.1006, allocations: 398.3 kB / 358.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.1006, allocations: 29 kB / 358.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.21e-05/0.1007, allocations: 43.98 kB / 358.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007/0.1014, allocations: 495.4 kB / 359.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.1015, allocations: 7.938 kB / 359.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.1015, allocations: 16 kB / 359.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.1015, allocations: 12 kB / 359.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.102, allocations: 258.1 kB / 359.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.104, allocations: 2.83 MB / 362.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.1044, allocations: 161.9 kB / 362.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.1045, allocations: 76.83 kB / 362.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.1047, allocations: 89.11 kB / 362.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1047, allocations: 38.5 kB / 362.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.1047, allocations: 0 / 362.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001234/0.106, allocations: 0.6378 MB / 363.4 MB, free: 7.453 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.106, allocations: 55.41 kB / 363.5 MB, free: 7.387 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.1064, allocations: 345.5 kB / 363.8 MB, free: 7.035 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.1064, allocations: 29.7 kB / 363.8 MB, free: 7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.1066, allocations: 299 kB / 364.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.1067, allocations: 67.08 kB / 364.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.1067, allocations: 33.7 kB / 364.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1068, allocations: 354.7 kB / 364.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.107, allocations: 67.97 kB / 364.6 MB, free: 6.176 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.1072, allocations: 219.6 kB / 364.8 MB, free: 5.891 MB / 302.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.0009425/0.1082, allocations: 0.5219 MB / 365.4 MB, free: 5.285 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1082, allocations: 4 kB / 365.4 MB, free: 5.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006065/0.1088, allocations: 357.4 kB / 365.7 MB, free: 4.922 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1088, allocations: 11.98 kB / 365.7 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1088, allocations: 8.688 kB / 365.7 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001451/0.109, allocations: 40.84 kB / 365.8 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.1092, allocations: 71.84 kB / 365.8 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.1104, allocations: 1.471 MB / 367.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.1106, allocations: 23.92 kB / 367.3 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.1106, allocations: 16 kB / 367.4 MB, free: 3.145 MB / 302.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0001842/0.1108, allocations: 169.7 kB / 367.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.1108, allocations: 39.59 kB / 367.6 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.697e-05/0.1109, allocations: 47.52 kB / 367.6 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1109, allocations: 0 / 367.6 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.111, allocations: 4 kB / 367.6 MB, free: 2.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.111, allocations: 0 / 367.6 MB, free: 2.875 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009169/0.1119, allocations: 0.7206 MB / 368.3 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1119, allocations: 0 / 368.3 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.1121, allocations: 35.92 kB / 368.4 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.708e-05/0.1122, allocations: 28.84 kB / 368.4 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1122, allocations: 0 / 368.4 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008881/0.1131, allocations: 1.335 MB / 369.7 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1131, allocations: 0 / 369.7 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/0.1136, allocations: 378.8 kB / 370.1 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/0.1137, allocations: 108.6 kB / 370.2 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.1137, allocations: 12.03 kB / 370.2 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.1139, allocations: 4 kB / 370.2 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.1139, allocations: 15.98 kB / 370.2 MB, free: 0 / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.1599/0.2739, allocations: 1.422 kB / 370.2 MB, free: 24.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000318/0.2742, allocations: 233.7 kB / 370.5 MB, free: 24.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2742, allocations: 0 / 370.5 MB, free: 24.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005395/0.2748, allocations: 69.19 kB / 370.5 MB, free: 24.18 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.0001021/0.2749, allocations: 98.89 kB / 370.6 MB, free: 24.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006174/0.2755, allocations: 315.7 kB / 370.9 MB, free: 23.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2755, allocations: 0 / 370.9 MB, free: 23.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.2757, allocations: 188.8 kB / 371.1 MB, free: 23.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.2761, allocations: 43.16 kB / 371.2 MB, free: 23.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.2776, allocations: 1.089 MB / 372.2 MB, free: 23.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.2779, allocations: 0.813 MB / 373.1 MB, free: 22.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.278, allocations: 46.09 kB / 373.1 MB, free: 22.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.2781, allocations: 28.69 kB / 373.1 MB, free: 22.54 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2781, allocations: 0.9688 kB / 373.1 MB, free: 22.54 MB / 302.1 MB Notification: Performance of Templates: time 0.006671/0.2848, allocations: 2.534 MB / 375.7 MB, free: 22.35 MB / 302.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