Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001563/0.001563, allocations: 103.4 kB / 17.98 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001762/0.001762, allocations: 213.8 kB / 18.92 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 227.7 MB / 247.4 MB, free: 8.816 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 73.58 kB / 307.4 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09686/0.09883, allocations: 50.54 MB / 357.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004481/0.1033, allocations: 3.093 MB / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.105, allocations: 1.025 MB / 362 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.1053, allocations: 11.94 kB / 362.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.1055, allocations: 75.36 kB / 362.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.1057, allocations: 71.28 kB / 362.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.1062, allocations: 199.8 kB / 362.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005828/0.1068, allocations: 0.5488 MB / 362.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.1072, allocations: 218.7 kB / 363.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.1075, allocations: 179.2 kB / 363.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.1077, allocations: 179 kB / 363.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.329e-05/0.1077, allocations: 40 kB / 363.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1078, allocations: 51.94 kB / 363.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.352e-05/0.1079, allocations: 87.64 kB / 363.7 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.1081, allocations: 230.7 kB / 363.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.1086, allocations: 463.2 kB / 364.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1086, allocations: 0 / 364.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1087, allocations: 0 / 364.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1087, allocations: 0 / 364.4 MB, free: 7.582 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.001039/0.1097, allocations: 0.7466 MB / 365.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1097, allocations: 8.031 kB / 365.1 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.11, allocations: 76.02 kB / 365.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.1105, allocations: 402.3 kB / 365.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.1105, allocations: 29 kB / 365.6 MB, free: 6.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.888e-05/0.1106, allocations: 47.89 kB / 365.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007655/0.1114, allocations: 483.4 kB / 366.1 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.1114, allocations: 7.938 kB / 366.1 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.1115, allocations: 16 kB / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.1115, allocations: 12 kB / 366.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/0.112, allocations: 254.1 kB / 366.4 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.1145, allocations: 2.823 MB / 369.2 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.1149, allocations: 166.6 kB / 369.4 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.1151, allocations: 64.88 kB / 369.5 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.1153, allocations: 89.11 kB / 369.5 MB, free: 2.055 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1153, allocations: 34.5 kB / 369.6 MB, free: 2.012 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.1153, allocations: 0 / 369.6 MB, free: 2.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001324/0.1166, allocations: 0.6254 MB / 370.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.1167, allocations: 55.31 kB / 370.3 MB, free: 1.266 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.1171, allocations: 349.6 kB / 370.6 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1171, allocations: 29.7 kB / 370.6 MB, free: 0.875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.1173, allocations: 310.9 kB / 370.9 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.1174, allocations: 59.11 kB / 371 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.1175, allocations: 69.56 kB / 371.1 MB, free: 444 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1177, allocations: 354.7 kB / 371.4 MB, free: 80 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.1178, allocations: 67.95 kB / 371.5 MB, free: 12 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1503/0.2682, allocations: 209.1 kB / 371.7 MB, free: 19.84 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.0009315/0.2691, allocations: 0.519 MB / 372.2 MB, free: 19.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2692, allocations: 2.094 kB / 372.2 MB, free: 19.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006029/0.2698, allocations: 354.2 kB / 372.5 MB, free: 19.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.2698, allocations: 6.75 kB / 372.5 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2698, allocations: 5.797 kB / 372.6 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.27, allocations: 37.81 kB / 372.6 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.2702, allocations: 77.28 kB / 372.7 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009858/0.2712, allocations: 1.635 MB / 374.3 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.2714, allocations: 22.16 kB / 374.3 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.2715, allocations: 16.81 kB / 374.3 MB, free: 17.97 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.000188/0.2717, allocations: 180.4 kB / 374.5 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.2717, allocations: 33.94 kB / 374.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.24e-05/0.2718, allocations: 40.56 kB / 374.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2718, allocations: 5.734 kB / 374.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2718, allocations: 1.281 kB / 374.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2718, allocations: 2.859 kB / 374.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008832/0.2727, allocations: 0.7133 MB / 375.3 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2727, allocations: 0 / 375.3 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.2729, allocations: 36.73 kB / 375.3 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.278e-05/0.273, allocations: 23.19 kB / 375.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.273, allocations: 10.06 kB / 375.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006822/0.2737, allocations: 1.427 MB / 376.8 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2737, allocations: 0 / 376.8 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.2742, allocations: 368.2 kB / 377.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.2743, allocations: 107.3 kB / 377.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.2743, allocations: 3.609 kB / 377.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.2744, allocations: 10.36 kB / 377.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.2745, allocations: 26.11 kB / 377.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.2745, allocations: 4.781 kB / 377.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002136/0.2747, allocations: 233.6 kB / 377.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2747, allocations: 0 / 377.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004517/0.2752, allocations: 67.66 kB / 377.6 MB, free: 15.53 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.31e-05/0.2753, allocations: 105.1 kB / 377.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.2758, allocations: 320.5 kB / 378 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2759, allocations: 1.375 kB / 378 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.276, allocations: 182.5 kB / 378.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.2764, allocations: 47.09 kB / 378.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.2778, allocations: 1.054 MB / 379.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.2781, allocations: 0.8132 MB / 380.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.039e-05/0.2782, allocations: 31.56 kB / 380.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2782, allocations: 4 kB / 380.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of Templates: time 0.009484/0.2877, allocations: 6.418 MB / 386.6 MB, free: 12.27 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches