Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 160.8 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 51.36 kB / 325.5 MB, free: 276 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08795/0.08953, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00408/0.09361, allocations: 2.834 MB / 381.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.09523, allocations: 0.9903 MB / 382.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.0954, allocations: 23.81 kB / 382.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.09564, allocations: 91.05 kB / 382.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.09583, allocations: 95.02 kB / 382.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.09632, allocations: 227.6 kB / 383.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005945/0.09691, allocations: 0.5488 MB / 383.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.09719, allocations: 143.2 kB / 383.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.09745, allocations: 191.2 kB / 384 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.09767, allocations: 159 kB / 384.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.206e-05/0.09773, allocations: 36 kB / 384.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.09786, allocations: 55.98 kB / 384.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.51e-05/0.09794, allocations: 95.56 kB / 384.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.09812, allocations: 179 kB / 384.5 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006292/0.09875, allocations: 0.5833 MB / 385.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.09876, allocations: 0 / 385.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.09876, allocations: 3.984 kB / 385.1 MB, free: 9.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.09877, allocations: 4 kB / 385.1 MB, free: 9.406 MB / 350.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.001022/0.09979, allocations: 0.692 MB / 385.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.09982, allocations: 8.031 kB / 385.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.1, allocations: 68.31 kB / 385.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/0.1006, allocations: 355.4 kB / 386.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.1007, allocations: 29 kB / 386.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.1007, allocations: 47.95 kB / 386.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008458/0.1016, allocations: 483.3 kB / 386.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.1016, allocations: 7.938 kB / 386.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.1016, allocations: 23.98 kB / 386.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.1017, allocations: 12 kB / 386.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.1022, allocations: 246.1 kB / 387.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.1045, allocations: 2.619 MB / 389.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.105, allocations: 154.6 kB / 389.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.1051, allocations: 64.88 kB / 389.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.38e-05/0.1052, allocations: 11.94 kB / 389.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.1052, allocations: 38.55 kB / 389.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.1052, allocations: 0 / 389.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001285/0.1065, allocations: 0.5691 MB / 390.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1066, allocations: 51.41 kB / 390.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.1069, allocations: 353.5 kB / 390.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1069, allocations: 29.7 kB / 390.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.1072, allocations: 311.7 kB / 391.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.863e-05/0.1073, allocations: 67.48 kB / 391.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.1073, allocations: 69.64 kB / 391.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1075, allocations: 346.8 kB / 391.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1077, allocations: 67.95 kB / 391.8 MB, free: 2.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.1079, allocations: 219.4 kB / 392 MB, free: 2.094 MB / 350.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.0009707/0.1089, allocations: 450.4 kB / 392.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1089, allocations: 0 / 392.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006283/0.1095, allocations: 362.3 kB / 392.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1096, allocations: 12 kB / 392.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.1096, allocations: 4 kB / 392.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.1097, allocations: 32.84 kB / 392.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.11, allocations: 83.78 kB / 392.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.1113, allocations: 1.493 MB / 394.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.1115, allocations: 19.98 kB / 394.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.1115, allocations: 12 kB / 394.4 MB, free: 15.47 MB / 366.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.0002068/0.1117, allocations: 177.7 kB / 394.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.1118, allocations: 35.77 kB / 394.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.343e-05/0.1118, allocations: 47.45 kB / 394.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1118, allocations: 144 / 394.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1118, allocations: 4 kB / 394.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1118, allocations: 3.984 kB / 394.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008901/0.1127, allocations: 0.5545 MB / 395.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1127, allocations: 4.031 kB / 395.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.1129, allocations: 39.91 kB / 395.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.559e-05/0.113, allocations: 20.86 kB / 395.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.113, allocations: 7.984 kB / 395.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.1141, allocations: 1.296 MB / 396.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.1141, allocations: 4 kB / 396.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.1146, allocations: 373.3 kB / 397 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.1146, allocations: 31.77 kB / 397 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.1147, allocations: 8 kB / 397 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1148, allocations: 7.969 kB / 397 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.1148, allocations: 15.98 kB / 397.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.1148, allocations: 4 kB / 397.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.1151, allocations: 239.2 kB / 397.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1151, allocations: 0 / 397.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004296/0.1155, allocations: 68 kB / 397.4 MB, free: 12.37 MB / 366.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.0001395/0.1157, allocations: 103.4 kB / 397.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006945/0.1164, allocations: 307.7 kB / 397.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1164, allocations: 0 / 397.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.1166, allocations: 186.5 kB / 397.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1169, allocations: 49.45 kB / 398 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.1185, allocations: 0.8449 MB / 398.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.1187, allocations: 223.1 kB / 399.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.1189, allocations: 35.28 kB / 399.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/0.1189, allocations: 28.48 kB / 399.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1189, allocations: 0 / 399.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of Templates: time 0.007118/0.126, allocations: 2.671 MB / 401.8 MB, free: 7.902 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.376445590052754]