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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 116.9 kB / 18.41 MB, free: 4.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.00158, allocations: 186.9 kB / 21.34 MB, free: 1.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 247.1 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 51.91 kB / 358.6 MB, free: 8.336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1031, allocations: 49.44 MB / 408.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004353/0.1075, allocations: 3.066 MB / 411.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1093, allocations: 0.9514 MB / 412.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.1095, allocations: 11.94 kB / 412.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.1097, allocations: 95.05 kB / 412.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.11, allocations: 102.9 kB / 412.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.1105, allocations: 223.6 kB / 412.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005925/0.1111, allocations: 0.541 MB / 413.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/0.1115, allocations: 226.7 kB / 413.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.1117, allocations: 167.3 kB / 413.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.112, allocations: 182.9 kB / 413.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.088e-05/0.112, allocations: 36 kB / 413.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1122, allocations: 55.92 kB / 413.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.886e-05/0.1123, allocations: 83.66 kB / 413.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.1125, allocations: 226.7 kB / 414 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006677/0.1132, allocations: 0.5834 MB / 414.6 MB, free: 308 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1132, allocations: 4 kB / 414.6 MB, free: 304 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1132, allocations: 0 / 414.6 MB, free: 304 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1132, allocations: 4 kB / 414.6 MB, free: 300 kB / 334.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.001061/0.1143, allocations: 0.7478 MB / 415.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.1143, allocations: 15.89 kB / 415.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.63e-05/0.1144, allocations: 60.31 kB / 415.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.1151, allocations: 426.6 kB / 415.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.1151, allocations: 36.94 kB / 415.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.1152, allocations: 39.98 kB / 415.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007787/0.116, allocations: 487.4 kB / 416.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.116, allocations: 7.938 kB / 416.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.1161, allocations: 16 kB / 416.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.1161, allocations: 12 kB / 416.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004883/0.1166, allocations: 250.1 kB / 416.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002431/0.119, allocations: 2.823 MB / 419.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.1195, allocations: 158.7 kB / 419.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.1197, allocations: 72.81 kB / 419.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.1198, allocations: 81.11 kB / 419.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1198, allocations: 46.48 kB / 419.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.1198, allocations: 0 / 419.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001425/0.1213, allocations: 0.6285 MB / 420.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.1213, allocations: 51.41 kB / 420.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.1217, allocations: 345.6 kB / 420.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1217, allocations: 29.7 kB / 420.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.122, allocations: 307.8 kB / 421.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.122, allocations: 75.34 kB / 421.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.573e-05/0.1221, allocations: 69.59 kB / 421.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.1223, allocations: 346.7 kB / 421.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.1225, allocations: 71.95 kB / 421.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.1228, allocations: 219.3 kB / 422 MB, free: 8.41 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.001095/0.1239, allocations: 0.5164 MB / 422.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1239, allocations: 0 / 422.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006459/0.1245, allocations: 361.6 kB / 422.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1246, allocations: 10.03 kB / 422.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.567e-06/0.1246, allocations: 4 kB / 422.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.1247, allocations: 41.47 kB / 422.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.125, allocations: 71.91 kB / 423 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.1265, allocations: 1.635 MB / 424.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.1267, allocations: 12 kB / 424.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.1267, allocations: 24.12 kB / 424.6 MB, free: 5.508 MB / 350.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.0002274/0.127, allocations: 169.7 kB / 424.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.127, allocations: 39.7 kB / 424.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.166e-05/0.1271, allocations: 39.59 kB / 424.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1271, allocations: 0 / 424.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1272, allocations: 8.062 kB / 424.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1272, allocations: 4 kB / 424.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.1282, allocations: 0.7129 MB / 425.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1282, allocations: 0 / 425.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.1284, allocations: 31.98 kB / 425.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.612e-05/0.1285, allocations: 28.84 kB / 425.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1285, allocations: 4.031 kB / 425.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.1297, allocations: 1.426 MB / 427.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1297, allocations: 8.094 kB / 427.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000527/0.1302, allocations: 365.3 kB / 427.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1303, allocations: 105 kB / 427.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.1304, allocations: 11.98 kB / 427.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1305, allocations: 0 / 427.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.523e-05/0.1306, allocations: 27.95 kB / 427.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.1306, allocations: 4 kB / 427.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003024/0.1309, allocations: 231.2 kB / 427.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1309, allocations: 3.938 kB / 427.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004744/0.1314, allocations: 72 kB / 427.9 MB, free: 1.969 MB / 350.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.0001651/0.1315, allocations: 103.1 kB / 428 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006661/0.1322, allocations: 320.7 kB / 428.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1322, allocations: 1.375 kB / 428.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.1325, allocations: 182.6 kB / 428.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1328, allocations: 45.61 kB / 428.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.1343, allocations: 0.8728 MB / 429.4 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1824/0.3168, allocations: 0.8116 MB / 430.2 MB, free: 21.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.3169, allocations: 33.91 kB / 430.3 MB, free: 21.95 MB / 350.1 MB Notification: Performance of SimCode: time 1.754e-06/0.3169, allocations: 0 / 430.3 MB, free: 21.95 MB / 350.1 MB Notification: Performance of Templates: time 0.009992/0.3269, allocations: 6.427 MB / 436.7 MB, free: 21.45 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.840115366037935]