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.001292/0.001292, allocations: 74.64 kB / 21.24 MB, free: 0.5469 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.001294/0.001294, allocations: 151.6 kB / 24.49 MB, free: 3.727 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.398/1.398, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] 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.00156/0.00156, allocations: 42.84 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08833/0.08989, allocations: 52.17 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004212/0.0941, allocations: 2.822 MB / 374.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.09571, allocations: 0.9203 MB / 375.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.09587, allocations: 15.88 kB / 375.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.09611, allocations: 91.05 kB / 375.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.09629, allocations: 99.02 kB / 375.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.09678, allocations: 223.6 kB / 375.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005918/0.09737, allocations: 0.5448 MB / 376.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.09766, allocations: 143.2 kB / 376.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.09788, allocations: 175.2 kB / 376.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.0981, allocations: 166.9 kB / 376.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.09815, allocations: 36 kB / 376.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.09826, allocations: 48 kB / 376.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.426e-05/0.09835, allocations: 91.64 kB / 376.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.09852, allocations: 175 kB / 377.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006365/0.09916, allocations: 0.5872 MB / 377.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.09916, allocations: 0 / 377.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.09916, allocations: 3.938 kB / 377.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.09917, allocations: 0 / 377.7 MB, free: 1.191 MB / 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.001008/0.1002, allocations: 0.6881 MB / 378.4 MB, free: 480 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1002, allocations: 8.031 kB / 378.4 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.489e-05/0.1003, allocations: 64.31 kB / 378.4 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/0.1009, allocations: 347.5 kB / 378.8 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.1009, allocations: 33 kB / 378.8 MB, free: 0 / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.164e-05/0.101, allocations: 36.05 kB / 378.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000747/0.1018, allocations: 491.3 kB / 379.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1018, allocations: 0 / 379.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.1018, allocations: 23.98 kB / 379.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.1018, allocations: 12 kB / 379.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005026/0.1023, allocations: 246.1 kB / 379.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.1046, allocations: 2.619 MB / 382.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.105, allocations: 154.6 kB / 382.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.1051, allocations: 64.88 kB / 382.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.149e-05/0.1052, allocations: 4.281 kB / 382.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1052, allocations: 38.56 kB / 382.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.1052, allocations: 4 kB / 382.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001234/0.1065, allocations: 0.5612 MB / 383 MB, free: 11.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.1065, allocations: 55.41 kB / 383.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/0.1069, allocations: 353.5 kB / 383.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1069, allocations: 29.7 kB / 383.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.1071, allocations: 311.7 kB / 383.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.1072, allocations: 63.48 kB / 383.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.285e-05/0.1073, allocations: 69.59 kB / 383.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1074, allocations: 354.7 kB / 384.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1076, allocations: 63.97 kB / 384.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.1078, allocations: 223.5 kB / 384.5 MB, free: 9.906 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.0009467/0.1088, allocations: 462.6 kB / 385 MB, free: 9.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1088, allocations: 0 / 385 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006058/0.1094, allocations: 361.6 kB / 385.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1094, allocations: 8.688 kB / 385.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1094, allocations: 4 kB / 385.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.1096, allocations: 40.84 kB / 385.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.1098, allocations: 71.91 kB / 385.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.1112, allocations: 1.501 MB / 387 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.1113, allocations: 16 kB / 387 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.1114, allocations: 15.98 kB / 387 MB, free: 7.266 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.0001897/0.1116, allocations: 169.7 kB / 387.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.1116, allocations: 39.83 kB / 387.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.908e-05/0.1117, allocations: 43.47 kB / 387.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1117, allocations: 3.938 kB / 387.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1117, allocations: 3.984 kB / 387.2 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1117, allocations: 4 kB / 387.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008869/0.1126, allocations: 0.5506 MB / 387.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1126, allocations: 7.938 kB / 387.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.1128, allocations: 28.12 kB / 387.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.819e-05/0.1128, allocations: 36.8 kB / 387.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.1129, allocations: 8 kB / 387.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.1139, allocations: 1.3 MB / 389.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1139, allocations: 3.938 kB / 389.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.1144, allocations: 361.4 kB / 389.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.1145, allocations: 27.77 kB / 389.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.1145, allocations: 4 kB / 389.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1146, allocations: 8.062 kB / 389.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.1147, allocations: 23.89 kB / 389.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1147, allocations: 8 kB / 389.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002379/0.1149, allocations: 235.2 kB / 389.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1149, allocations: 0 / 389.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004307/0.1154, allocations: 71.94 kB / 389.9 MB, free: 4.164 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.0001118/0.1155, allocations: 99.23 kB / 390 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005548/0.116, allocations: 310.3 kB / 390.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.116, allocations: 0 / 390.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.1163, allocations: 183.9 kB / 390.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1166, allocations: 37.42 kB / 390.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.118, allocations: 0.8625 MB / 391.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.1182, allocations: 215.1 kB / 391.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.1183, allocations: 39.27 kB / 391.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.1184, allocations: 28.48 kB / 391.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1184, allocations: 0 / 391.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of Templates: time 0.00721/0.1256, allocations: 2.65 MB / 394.3 MB, free: 15.74 MB / 366.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 -s ida -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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.279219132964499]