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.001065/0.001065, allocations: 110 kB / 17.68 MB, free: 5.332 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.001025/0.001025, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.302/1.302, allocations: 222.9 MB / 242.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.00158, allocations: 47.62 kB / 302 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/0.09664, allocations: 49.44 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004242/0.1009, allocations: 3.059 MB / 354.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1024, allocations: 0.959 MB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.1026, allocations: 11.94 kB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.1028, allocations: 99.05 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.103, allocations: 95 kB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.1035, allocations: 223.6 kB / 355.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.104, allocations: 0.5486 MB / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.1043, allocations: 226.7 kB / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.1045, allocations: 171.2 kB / 356.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.1047, allocations: 182.9 kB / 357 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.974e-05/0.1047, allocations: 36 kB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.652e-05/0.1048, allocations: 48 kB / 357.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/0.1049, allocations: 87.64 kB / 357.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.1051, allocations: 226.7 kB / 357.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.1056, allocations: 0.5759 MB / 358 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.1056, allocations: 7.938 kB / 358 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1056, allocations: 0 / 358 MB, free: 13.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1056, allocations: 0 / 358 MB, free: 13.13 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.0008971/0.1065, allocations: 0.7366 MB / 358.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1065, allocations: 15.89 kB / 358.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.938e-05/0.1066, allocations: 60.03 kB / 358.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005761/0.1072, allocations: 418.4 kB / 359.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.1072, allocations: 29 kB / 359.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/0.1073, allocations: 36 kB / 359.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006469/0.108, allocations: 495.4 kB / 359.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.108, allocations: 4 kB / 359.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.108, allocations: 16 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.108, allocations: 12 kB / 359.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.1085, allocations: 250.1 kB / 360.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.1105, allocations: 2.827 MB / 362.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.1109, allocations: 158.6 kB / 363 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.1111, allocations: 68.88 kB / 363.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.1112, allocations: 85.11 kB / 363.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1112, allocations: 42.5 kB / 363.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.1112, allocations: 0 / 363.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001221/0.1124, allocations: 0.6223 MB / 363.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.1125, allocations: 51.41 kB / 363.9 MB, free: 6.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.1128, allocations: 349.5 kB / 364.2 MB, free: 6.465 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1128, allocations: 25.7 kB / 364.3 MB, free: 6.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.113, allocations: 303 kB / 364.6 MB, free: 6.133 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.113, allocations: 71.03 kB / 364.6 MB, free: 6.062 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-05/0.1131, allocations: 65.61 kB / 364.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.1133, allocations: 346.7 kB / 365 MB, free: 5.645 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.1135, allocations: 71.95 kB / 365.1 MB, free: 5.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.1138, allocations: 219.6 kB / 365.3 MB, free: 5.289 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.001035/0.1148, allocations: 0.5121 MB / 365.8 MB, free: 4.688 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1148, allocations: 0 / 365.8 MB, free: 4.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005959/0.1155, allocations: 368.2 kB / 366.2 MB, free: 4.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1155, allocations: 8.688 kB / 366.2 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1155, allocations: 4 kB / 366.2 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.1156, allocations: 40.84 kB / 366.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.1159, allocations: 67.91 kB / 366.3 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.1171, allocations: 1.635 MB / 367.9 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.1173, allocations: 12 kB / 368 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.1173, allocations: 20 kB / 368 MB, free: 2.395 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.00019/0.1175, allocations: 173.6 kB / 368.1 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.1176, allocations: 43.47 kB / 368.2 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.411e-05/0.1176, allocations: 39.66 kB / 368.2 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1176, allocations: 0 / 368.2 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1176, allocations: 8 kB / 368.2 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1177, allocations: 0 / 368.2 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009172/0.1186, allocations: 0.7027 MB / 368.9 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1186, allocations: 0 / 368.9 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.1188, allocations: 39.91 kB / 369 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-05/0.1189, allocations: 32.88 kB / 369 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1189, allocations: 0 / 369 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1367/0.2556, allocations: 1.423 MB / 370.4 MB, free: 25.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2556, allocations: 1.297 kB / 370.4 MB, free: 25.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005416/0.2561, allocations: 363.3 kB / 370.8 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.2562, allocations: 106 kB / 370.9 MB, free: 24.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.2562, allocations: 5.5 kB / 370.9 MB, free: 24.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.2564, allocations: 8.047 kB / 370.9 MB, free: 24.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.2564, allocations: 19.64 kB / 370.9 MB, free: 24.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.2565, allocations: 4.516 kB / 370.9 MB, free: 24.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002844/0.2567, allocations: 233.4 kB / 371.2 MB, free: 24.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2568, allocations: 3.094 kB / 371.2 MB, free: 24.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004727/0.2572, allocations: 66.16 kB / 371.2 MB, free: 24.87 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.0001035/0.2573, allocations: 107.8 kB / 371.3 MB, free: 24.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005775/0.2579, allocations: 309.3 kB / 371.6 MB, free: 24.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.258, allocations: 2.812 kB / 371.6 MB, free: 24.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.2582, allocations: 186.9 kB / 371.8 MB, free: 24.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.2585, allocations: 38.17 kB / 371.9 MB, free: 24.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.2598, allocations: 0.8326 MB / 372.7 MB, free: 24.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.26, allocations: 0.8233 MB / 373.5 MB, free: 23.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.2601, allocations: 37.91 kB / 373.5 MB, free: 23.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.2602, allocations: 34.73 kB / 373.6 MB, free: 23.43 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2602, allocations: 0 / 373.6 MB, free: 23.43 MB / 302.1 MB Notification: Performance of Templates: time 0.006794/0.267, allocations: 2.683 MB / 376.3 MB, free: 23.22 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 cvode -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