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.001425/0.001425, allocations: 113.9 kB / 17.69 MB, free: 5.305 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.001556/0.001556, allocations: 191 kB / 18.63 MB, free: 4.375 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.326/1.326, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.00114, allocations: 47.59 kB / 302.1 MB, free: 5.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09069/0.09185, allocations: 49.45 MB / 351.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004214/0.0961, allocations: 3.047 MB / 354.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.09778, allocations: 0.9669 MB / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.0981, allocations: 15.88 kB / 355.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.09845, allocations: 95.05 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.09872, allocations: 95.02 kB / 355.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.09927, allocations: 215.7 kB / 355.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006218/0.0999, allocations: 0.5564 MB / 356.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.1003, allocations: 222.6 kB / 356.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.1005, allocations: 171.3 kB / 356.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.1007, allocations: 179 kB / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.1008, allocations: 36 kB / 357.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1009, allocations: 55.94 kB / 357.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.751e-05/0.101, allocations: 87.64 kB / 357.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.1012, allocations: 230.7 kB / 357.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005289/0.1017, allocations: 0.5643 MB / 358 MB, free: 13.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1018, allocations: 0 / 358 MB, free: 13.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1018, allocations: 0 / 358 MB, free: 13.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.1018, allocations: 7.938 kB / 358 MB, free: 13.16 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.001122/0.1029, allocations: 0.7444 MB / 358.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.103, allocations: 11.89 kB / 358.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.1031, allocations: 60.03 kB / 358.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006908/0.1038, allocations: 422.3 kB / 359.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.1038, allocations: 33 kB / 359.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.58e-05/0.1039, allocations: 36 kB / 359.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008051/0.1047, allocations: 491.4 kB / 359.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.1047, allocations: 7.938 kB / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.1048, allocations: 16 kB / 359.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.1048, allocations: 12 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005851/0.1054, allocations: 246.1 kB / 360.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.1077, allocations: 2.815 MB / 362.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.1081, allocations: 158.7 kB / 363 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.1083, allocations: 72.83 kB / 363.1 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.1084, allocations: 81.11 kB / 363.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1084, allocations: 42.44 kB / 363.2 MB, free: 7.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 2.465e-06/0.1085, allocations: 4 kB / 363.2 MB, free: 7.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001452/0.1099, allocations: 0.6202 MB / 363.8 MB, free: 6.914 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.11, allocations: 59.34 kB / 363.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.1104, allocations: 345.5 kB / 364.2 MB, free: 6.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.1104, allocations: 29.7 kB / 364.3 MB, free: 6.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.1106, allocations: 299 kB / 364.6 MB, free: 6.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.1107, allocations: 67.09 kB / 364.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.511e-05/0.1108, allocations: 65.61 kB / 364.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1109, allocations: 354.7 kB / 365 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1111, allocations: 63.97 kB / 365.1 MB, free: 5.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.1113, allocations: 215.6 kB / 365.3 MB, free: 5.328 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.0008978/0.1122, allocations: 0.5179 MB / 365.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1122, allocations: 8 kB / 365.8 MB, free: 4.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005487/0.1128, allocations: 361.8 kB / 366.2 MB, free: 4.355 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1128, allocations: 4 kB / 366.2 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.1128, allocations: 8 kB / 366.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.113, allocations: 36.83 kB / 366.2 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.1132, allocations: 79.78 kB / 366.3 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.1145, allocations: 1.631 MB / 367.9 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.1147, allocations: 12 kB / 368 MB, free: 2.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.1147, allocations: 19.94 kB / 368 MB, free: 2.426 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 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.0002113/0.115, allocations: 174.3 kB / 368.2 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.115, allocations: 39.47 kB / 368.2 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.407e-05/0.1151, allocations: 43.58 kB / 368.2 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1151, allocations: 0 / 368.2 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1151, allocations: 0 / 368.2 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1151, allocations: 4 kB / 368.2 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009258/0.1161, allocations: 0.7116 MB / 368.9 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1161, allocations: 0 / 368.9 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.1163, allocations: 35.98 kB / 369 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.358e-05/0.1163, allocations: 20.98 kB / 369 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1164, allocations: 4 kB / 369 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1516/0.268, allocations: 1.429 MB / 370.4 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.268, allocations: 0.6875 kB / 370.4 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/0.2687, allocations: 364.2 kB / 370.8 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.2688, allocations: 105.6 kB / 370.9 MB, free: 24.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.2688, allocations: 7.422 kB / 370.9 MB, free: 24.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.269, allocations: 9.141 kB / 370.9 MB, free: 24.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.269, allocations: 14.02 kB / 370.9 MB, free: 24.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.2691, allocations: 5.828 kB / 370.9 MB, free: 24.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002605/0.2693, allocations: 238.3 kB / 371.2 MB, free: 24.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2693, allocations: 0 / 371.2 MB, free: 24.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004703/0.2698, allocations: 65.53 kB / 371.2 MB, free: 24.38 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 9.273e-05/0.2699, allocations: 109.7 kB / 371.3 MB, free: 24.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005138/0.2704, allocations: 310.2 kB / 371.6 MB, free: 24.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2704, allocations: 1.781 kB / 371.6 MB, free: 24.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.2706, allocations: 183.9 kB / 371.8 MB, free: 24.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.271, allocations: 39.47 kB / 371.9 MB, free: 24.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.2723, allocations: 0.8376 MB / 372.7 MB, free: 23.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.2726, allocations: 0.8114 MB / 373.5 MB, free: 22.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.2727, allocations: 38.7 kB / 373.5 MB, free: 22.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.2728, allocations: 36.38 kB / 373.6 MB, free: 22.97 MB / 302.1 MB Notification: Performance of SimCode: time 4.7e-07/0.2728, allocations: 1.094 kB / 373.6 MB, free: 22.97 MB / 302.1 MB Notification: Performance of Templates: time 0.007167/0.28, allocations: 2.679 MB / 376.3 MB, free: 22.79 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 -s gbode -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