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.0008563/0.0008566, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.001048/0.001048, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.348/1.348, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003229, allocations: 7.938 kB / 302.1 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08707/0.08741, allocations: 50.41 MB / 352.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003114/0.09057, allocations: 2.71 MB / 355.2 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.09224, allocations: 0.9357 MB / 356.1 MB, free: 48 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003921/0.09266, allocations: 7.938 kB / 356.1 MB, free: 40 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.09295, allocations: 71.5 kB / 356.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.09325, allocations: 87.17 kB / 356.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.09378, allocations: 183.8 kB / 356.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005803/0.09437, allocations: 0.5057 MB / 357 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003413/0.09472, allocations: 206.2 kB / 357.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.09496, allocations: 135.3 kB / 357.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.09519, allocations: 151 kB / 357.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.09524, allocations: 12 kB / 357.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.09535, allocations: 31.92 kB / 357.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.848e-05/0.09542, allocations: 63.66 kB / 357.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.09561, allocations: 220.4 kB / 357.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.096, allocations: 403.2 kB / 358.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.09601, allocations: 0 / 358.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.09602, allocations: 0 / 358.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.09605, allocations: 4 kB / 358.2 MB, free: 13.97 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.0009085/0.09696, allocations: 0.6587 MB / 358.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.097, allocations: 8.031 kB / 358.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.603e-05/0.09711, allocations: 60.03 kB / 358.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.0976, allocations: 402.3 kB / 359.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.09763, allocations: 29 kB / 359.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/0.0977, allocations: 44 kB / 359.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.09845, allocations: 495.4 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.09848, allocations: 7.938 kB / 359.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.09852, allocations: 20 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.09854, allocations: 12 kB / 359.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005204/0.09907, allocations: 250.1 kB / 360.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.1014, allocations: 2.831 MB / 363 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.1018, allocations: 170.6 kB / 363.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.102, allocations: 72.83 kB / 363.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.1021, allocations: 81.11 kB / 363.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.1021, allocations: 38.5 kB / 363.3 MB, free: 8.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.1022, allocations: 0 / 363.3 MB, free: 8.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001288/0.1034, allocations: 0.6409 MB / 364 MB, free: 7.785 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1035, allocations: 51.41 kB / 364 MB, free: 7.723 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.1038, allocations: 345.5 kB / 364.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1039, allocations: 29.7 kB / 364.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.1041, allocations: 303 kB / 364.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/0.1041, allocations: 67.09 kB / 364.7 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.1042, allocations: 29.7 kB / 364.8 MB, free: 6.934 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1043, allocations: 350.7 kB / 365.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1044, allocations: 67.97 kB / 365.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.1047, allocations: 227.6 kB / 365.4 MB, free: 6.223 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.0009362/0.1056, allocations: 0.5254 MB / 365.9 MB, free: 5.613 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1056, allocations: 0 / 365.9 MB, free: 5.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005791/0.1062, allocations: 368.4 kB / 366.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1063, allocations: 10.97 kB / 366.3 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1063, allocations: 4 kB / 366.3 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.1064, allocations: 36.78 kB / 366.3 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.1067, allocations: 83.83 kB / 366.4 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.1079, allocations: 1.464 MB / 367.9 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.108, allocations: 19.98 kB / 367.9 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.1081, allocations: 24.06 kB / 367.9 MB, free: 3.473 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.0002086/0.1083, allocations: 173.6 kB / 368.1 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.1084, allocations: 35.53 kB / 368.1 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.1084, allocations: 43.52 kB / 368.2 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1084, allocations: 0 / 368.2 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1085, allocations: 4 kB / 368.2 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1085, allocations: 0 / 368.2 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009322/0.1094, allocations: 0.714 MB / 368.9 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1094, allocations: 0 / 368.9 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.1096, allocations: 39.92 kB / 368.9 MB, free: 2.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.873e-05/0.1097, allocations: 24.84 kB / 368.9 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.1097, allocations: 15.97 kB / 369 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008524/0.1106, allocations: 1.335 MB / 370.3 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1106, allocations: 0 / 370.3 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004835/0.1111, allocations: 368.7 kB / 370.7 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.1112, allocations: 108.6 kB / 370.8 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.1112, allocations: 4 kB / 370.8 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.1113, allocations: 16.03 kB / 370.8 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.1114, allocations: 11.98 kB / 370.8 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1114, allocations: 8 kB / 370.8 MB, free: 328 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002103/0.1116, allocations: 231.2 kB / 371 MB, free: 100 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1116, allocations: 0 / 371 MB, free: 100 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004181/0.112, allocations: 68 kB / 371.1 MB, free: 32 kB / 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.1622/0.2742, allocations: 99.5 kB / 371.2 MB, free: 24.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000783/0.275, allocations: 311.8 kB / 371.5 MB, free: 24.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.275, allocations: 0.7188 kB / 371.5 MB, free: 24.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.2753, allocations: 186.4 kB / 371.7 MB, free: 24.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.2758, allocations: 42.03 kB / 371.7 MB, free: 24.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.2774, allocations: 1.124 MB / 372.8 MB, free: 23.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.2777, allocations: 0.812 MB / 373.7 MB, free: 22.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.2778, allocations: 35.41 kB / 373.7 MB, free: 22.83 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2778, allocations: 0 / 373.7 MB, free: 22.83 MB / 302.1 MB Notification: Performance of Templates: time 0.01052/0.2883, allocations: 6.297 MB / 380 MB, free: 21.73 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/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