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.00144/0.00144, allocations: 80.67 kB / 20.68 MB, free: 1.035 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.001326/0.001326, allocations: 146.9 kB / 23.93 MB, free: 4.188 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.41/1.41, allocations: 173.3 MB / 200.4 MB, free: 12.9 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 1.653e-06/1.653e-06, allocations: 0 / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.925e-05, allocations: 6.219 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003946/0.003975, allocations: 2.809 MB / 321.7 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.005507, allocations: 0.9307 MB / 322.6 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.0057, allocations: 15.62 kB / 322.7 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.00598, allocations: 100.1 kB / 322.8 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.006164, allocations: 99.73 kB / 322.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005444/0.006708, allocations: 224.9 kB / 323.1 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.00723, allocations: 0.5664 MB / 323.6 MB, free: 428 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.007509, allocations: 141.1 kB / 323.8 MB, free: 348 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.007847, allocations: 267.3 kB / 324 MB, free: 232 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.008032, allocations: 122.8 kB / 324.2 MB, free: 184 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.775e-05/0.008089, allocations: 37.44 kB / 324.2 MB, free: 184 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.008212, allocations: 53.92 kB / 324.2 MB, free: 176 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.00828, allocations: 92.2 kB / 324.3 MB, free: 108 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.008411, allocations: 137.8 kB / 324.5 MB, free: 44 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007557/0.009166, allocations: 0.5734 MB / 325 MB, free: 15.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.009172, allocations: 3.938 kB / 325 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.009173, allocations: 3.938 kB / 325 MB, free: 15.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.009183, allocations: 1.375 kB / 325.1 MB, free: 15.8 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.001195/0.01038, allocations: 0.6702 MB / 325.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.01042, allocations: 10.11 kB / 325.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.01053, allocations: 63.28 kB / 325.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007628/0.0113, allocations: 360.5 kB / 326.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.01133, allocations: 28.03 kB / 326.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.076e-05/0.01141, allocations: 39.44 kB / 326.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.01225, allocations: 486.7 kB / 326.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.01228, allocations: 6.188 kB / 326.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.01232, allocations: 17.38 kB / 326.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.01233, allocations: 12.14 kB / 326.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005503/0.01288, allocations: 249.6 kB / 327 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.01546, allocations: 2.614 MB / 329.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/0.01597, allocations: 153.6 kB / 329.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.01612, allocations: 63.33 kB / 329.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.01623, allocations: 5.938 kB / 329.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.01626, allocations: 36.72 kB / 329.8 MB, free: 12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.01626, allocations: 4 kB / 329.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001401/0.01766, allocations: 0.5648 MB / 330.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.01771, allocations: 54.38 kB / 330.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004261/0.01814, allocations: 355.1 kB / 330.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.01817, allocations: 30.73 kB / 330.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.01842, allocations: 299.8 kB / 331.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.883e-05/0.01849, allocations: 73.44 kB / 331.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.0186, allocations: 66.77 kB / 331.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.01877, allocations: 350.3 kB / 331.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.01892, allocations: 64.12 kB / 331.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.01919, allocations: 220.2 kB / 331.9 MB, free: 10.42 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.001013/0.0202, allocations: 450.1 kB / 332.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.0202, allocations: 1.5 kB / 332.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006676/0.02087, allocations: 356.4 kB / 332.7 MB, free: 9.938 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.02089, allocations: 15.81 kB / 332.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.0209, allocations: 13.08 kB / 332.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.02106, allocations: 37.91 kB / 332.7 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.02134, allocations: 73.86 kB / 332.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.0228, allocations: 1.508 MB / 334.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.02299, allocations: 13.09 kB / 334.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.02302, allocations: 17.81 kB / 334.3 MB, free: 8.438 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.0002537/0.02327, allocations: 171.2 kB / 334.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.415e-05/0.02333, allocations: 35.8 kB / 334.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.751e-05/0.02341, allocations: 38.59 kB / 334.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.02341, allocations: 2.375 kB / 334.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.02342, allocations: 4.969 kB / 334.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.02342, allocations: 0.8906 kB / 334.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.02444, allocations: 0.5551 MB / 335.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.02444, allocations: 1.125 kB / 335.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.02464, allocations: 39.88 kB / 335.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.145e-05/0.02473, allocations: 28.12 kB / 335.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.02475, allocations: 2.391 kB / 335.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.0259, allocations: 1.301 MB / 336.5 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.02591, allocations: 5.25 kB / 336.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006163/0.02652, allocations: 364.9 kB / 336.9 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.02657, allocations: 32.64 kB / 336.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.02661, allocations: 11.41 kB / 336.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.02674, allocations: 7.672 kB / 336.9 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.02679, allocations: 10.59 kB / 336.9 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.02681, allocations: 9.016 kB / 336.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002812/0.02709, allocations: 233.4 kB / 337.2 MB, free: 6.152 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02709, allocations: 0 / 337.2 MB, free: 6.152 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005019/0.02759, allocations: 66.53 kB / 337.2 MB, free: 6.145 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.0001379/0.02773, allocations: 100.5 kB / 337.3 MB, free: 6.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000644/0.02838, allocations: 303.3 kB / 337.6 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.02838, allocations: 5.219 kB / 337.6 MB, free: 5.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.02863, allocations: 184.3 kB / 337.8 MB, free: 5.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.029, allocations: 41.47 kB / 337.9 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.03059, allocations: 0.7732 MB / 338.6 MB, free: 5.207 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.03083, allocations: 223 kB / 338.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.03095, allocations: 41.58 kB / 338.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.159e-05/0.03103, allocations: 36.89 kB / 338.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.03103, allocations: 0 / 338.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of Templates: time 0.00803/0.03906, allocations: 2.65 MB / 341.6 MB, free: 3.727 MB / 302.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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.385563291609287]