Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001511/0.001511, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001819/0.001819, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001119, allocations: 59.28 kB / 308.3 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0963/0.09743, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004255/0.1017, allocations: 3.069 MB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.1035, allocations: 1.037 MB / 363 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.1037, allocations: 11.94 kB / 363 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.1039, allocations: 107 kB / 363.1 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.1041, allocations: 87.03 kB / 363.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.1046, allocations: 231.6 kB / 363.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005023/0.1051, allocations: 0.5488 MB / 364 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000337/0.1054, allocations: 222.7 kB / 364.2 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.1057, allocations: 179.2 kB / 364.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.1059, allocations: 182.9 kB / 364.5 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.87e-05/0.1059, allocations: 36 kB / 364.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1061, allocations: 55.92 kB / 364.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.1061, allocations: 91.64 kB / 364.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.1063, allocations: 222.7 kB / 364.9 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.1068, allocations: 0.5721 MB / 365.5 MB, free: 6.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.1068, allocations: 4 kB / 365.5 MB, free: 6.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1068, allocations: 4 kB / 365.5 MB, free: 6.668 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1068, allocations: 0 / 365.5 MB, free: 6.668 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.0008918/0.1077, allocations: 0.7444 MB / 366.3 MB, free: 5.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.1078, allocations: 8.031 kB / 366.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.108, allocations: 72.02 kB / 366.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.1085, allocations: 418.3 kB / 366.7 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.1086, allocations: 33 kB / 366.8 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.277e-05/0.1086, allocations: 43.91 kB / 366.8 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006737/0.1093, allocations: 495.4 kB / 367.3 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.1094, allocations: 3.938 kB / 367.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.1094, allocations: 20 kB / 367.3 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1094, allocations: 12 kB / 367.3 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/0.1099, allocations: 246.1 kB / 367.6 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.1119, allocations: 2.815 MB / 370.4 MB, free: 1.473 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.1123, allocations: 158.7 kB / 370.5 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.1124, allocations: 76.83 kB / 370.6 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.1125, allocations: 85.11 kB / 370.7 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.1126, allocations: 38.44 kB / 370.7 MB, free: 1.082 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.1126, allocations: 0 / 370.7 MB, free: 1.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001192/0.1138, allocations: 0.6185 MB / 371.4 MB, free: 416 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.1138, allocations: 59.31 kB / 371.4 MB, free: 344 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1567/0.2705, allocations: 344.2 kB / 371.8 MB, free: 20.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.2706, allocations: 30.58 kB / 371.8 MB, free: 20.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.2708, allocations: 297.3 kB / 372.1 MB, free: 20.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.779e-05/0.2709, allocations: 72.45 kB / 372.1 MB, free: 20.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.271, allocations: 69.12 kB / 372.2 MB, free: 20.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.556e-05/0.2711, allocations: 350.1 kB / 372.6 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.2713, allocations: 65.19 kB / 372.6 MB, free: 19.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.2716, allocations: 219.1 kB / 372.8 MB, free: 19.75 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.001041/0.2726, allocations: 0.512 MB / 373.3 MB, free: 19.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.2726, allocations: 5.375 kB / 373.4 MB, free: 19.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006867/0.2733, allocations: 360.9 kB / 373.7 MB, free: 19.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2734, allocations: 6.938 kB / 373.7 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.2734, allocations: 5.531 kB / 373.7 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.2735, allocations: 38.16 kB / 373.8 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.2738, allocations: 75.61 kB / 373.8 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.2749, allocations: 1.633 MB / 375.5 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.2751, allocations: 15.66 kB / 375.5 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.2752, allocations: 18.97 kB / 375.5 MB, free: 17.82 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.0002067/0.2754, allocations: 178.2 kB / 375.7 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.2754, allocations: 35.47 kB / 375.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.299e-05/0.2755, allocations: 38.55 kB / 375.7 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2755, allocations: 6.812 kB / 375.7 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2755, allocations: 1.125 kB / 375.7 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2756, allocations: 0.8438 kB / 375.8 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009255/0.2765, allocations: 0.7185 MB / 376.5 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2765, allocations: 0.5625 kB / 376.5 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.2767, allocations: 32.44 kB / 376.5 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-05/0.2768, allocations: 25.09 kB / 376.5 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.2768, allocations: 6.766 kB / 376.5 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006797/0.2775, allocations: 1.432 MB / 378 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2775, allocations: 3.938 kB / 378 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/0.278, allocations: 364.9 kB / 378.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.2781, allocations: 102 kB / 378.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.2781, allocations: 6.641 kB / 378.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.2782, allocations: 9.219 kB / 378.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.2783, allocations: 10.66 kB / 378.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.2783, allocations: 8.422 kB / 378.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002701/0.2786, allocations: 233.4 kB / 378.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2786, allocations: 2.656 kB / 378.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004541/0.2791, allocations: 67.94 kB / 378.8 MB, free: 15.15 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.0001101/0.2792, allocations: 105.6 kB / 378.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004977/0.2797, allocations: 321 kB / 379.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2797, allocations: 0 / 379.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.2799, allocations: 183.4 kB / 379.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.2802, allocations: 35.23 kB / 379.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.2814, allocations: 0.8512 MB / 380.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.2817, allocations: 0.813 MB / 381 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.2818, allocations: 41.75 kB / 381.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.841e-05/0.2819, allocations: 34 kB / 381.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2819, allocations: 0 / 381.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of Templates: time 0.006781/0.2886, allocations: 2.668 MB / 383.8 MB, free: 13.27 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches