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.001103/0.001103, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.001006/0.001006, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.37/1.37, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 47.39 kB / 300.6 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09364/0.09468, allocations: 49.45 MB / 350 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003916/0.09863, allocations: 3.054 MB / 353.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1001, allocations: 0.9708 MB / 354.1 MB, free: 404 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.1002, allocations: 11.94 kB / 354.1 MB, free: 392 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.1005, allocations: 95.05 kB / 354.2 MB, free: 296 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.1007, allocations: 95.02 kB / 354.3 MB, free: 200 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.1011, allocations: 215.6 kB / 354.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004696/0.1016, allocations: 0.5448 MB / 355 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.1019, allocations: 214.7 kB / 355.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.1021, allocations: 187.2 kB / 355.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.1023, allocations: 179 kB / 355.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.947e-05/0.1024, allocations: 36 kB / 355.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1025, allocations: 48 kB / 355.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.962e-05/0.1026, allocations: 83.64 kB / 355.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.1027, allocations: 234.7 kB / 356 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.1032, allocations: 0.553 MB / 356.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1032, allocations: 0 / 356.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1033, allocations: 0 / 356.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1033, allocations: 0 / 356.5 MB, free: 13.91 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.0009259/0.1042, allocations: 0.7482 MB / 357.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1042, allocations: 11.89 kB / 357.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.959e-05/0.1043, allocations: 60.03 kB / 357.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.1048, allocations: 398.4 kB / 357.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.1049, allocations: 29 kB / 357.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.1049, allocations: 43.98 kB / 357.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006672/0.1056, allocations: 487.4 kB / 358.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1056, allocations: 4 kB / 358.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.1057, allocations: 19.98 kB / 358.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.1057, allocations: 12 kB / 358.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.1062, allocations: 254.1 kB / 358.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.1082, allocations: 2.834 MB / 361.4 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.1086, allocations: 162.6 kB / 361.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.1087, allocations: 72.88 kB / 361.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.1089, allocations: 85.11 kB / 361.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.1089, allocations: 42.48 kB / 361.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.109, allocations: 0 / 361.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001202/0.1102, allocations: 0.6203 MB / 362.4 MB, free: 7.652 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.1102, allocations: 59.34 kB / 362.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.1105, allocations: 349.5 kB / 362.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1106, allocations: 25.7 kB / 362.8 MB, free: 7.199 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.1107, allocations: 307 kB / 363.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.1108, allocations: 63.11 kB / 363.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.738e-05/0.1109, allocations: 69.59 kB / 363.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.111, allocations: 346.8 kB / 363.6 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1112, allocations: 67.95 kB / 363.6 MB, free: 6.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.1114, allocations: 211.7 kB / 363.8 MB, free: 6.066 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.0008787/0.1123, allocations: 0.511 MB / 364.4 MB, free: 5.469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1123, allocations: 7.938 kB / 364.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005589/0.1128, allocations: 362 kB / 364.7 MB, free: 5.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1129, allocations: 8 kB / 364.7 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1129, allocations: 8 kB / 364.7 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/0.113, allocations: 40.83 kB / 364.8 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.1133, allocations: 67.91 kB / 364.8 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.1144, allocations: 1.635 MB / 366.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.1146, allocations: 12 kB / 366.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.1146, allocations: 20.06 kB / 366.5 MB, free: 3.168 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.0001847/0.1148, allocations: 172.5 kB / 366.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.1149, allocations: 39.47 kB / 366.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.1149, allocations: 39.59 kB / 366.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1149, allocations: 0 / 366.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.115, allocations: 3.938 kB / 366.8 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.115, allocations: 4 kB / 366.8 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008714/0.1158, allocations: 0.714 MB / 367.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1159, allocations: 0 / 367.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.116, allocations: 31.98 kB / 367.5 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.647e-05/0.1161, allocations: 36.91 kB / 367.5 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1161, allocations: 3.938 kB / 367.5 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009005/0.1171, allocations: 1.43 MB / 369 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1171, allocations: 4.031 kB / 369 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.1175, allocations: 364.5 kB / 369.3 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1506/0.2682, allocations: 100.8 kB / 369.4 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/0.2683, allocations: 6 kB / 369.4 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.2684, allocations: 3.891 kB / 369.4 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.2685, allocations: 21.73 kB / 369.5 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.2685, allocations: 3.312 kB / 369.5 MB, free: 25.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002818/0.2688, allocations: 235.2 kB / 369.7 MB, free: 25.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2688, allocations: 0.6562 kB / 369.7 MB, free: 25.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005864/0.2694, allocations: 70.81 kB / 369.8 MB, free: 25.21 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.0001061/0.2695, allocations: 102.2 kB / 369.9 MB, free: 25.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006004/0.2701, allocations: 317.6 kB / 370.2 MB, free: 25.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2702, allocations: 0.8438 kB / 370.2 MB, free: 25.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.2704, allocations: 185.3 kB / 370.4 MB, free: 24.9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.2707, allocations: 35.25 kB / 370.4 MB, free: 24.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.272, allocations: 0.8542 MB / 371.2 MB, free: 24.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.2723, allocations: 0.813 MB / 372.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.2725, allocations: 36.81 kB / 372.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.606e-05/0.2725, allocations: 34.44 kB / 372.1 MB, free: 23.79 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2725, allocations: 0 / 372.1 MB, free: 23.79 MB / 302.1 MB Notification: Performance of Templates: time 0.006672/0.2792, allocations: 2.671 MB / 374.8 MB, free: 23.6 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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