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.001447/0.001447, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001496/0.001496, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.559/1.559, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.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.001613/0.001613, allocations: 43.92 kB / 373.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1103, allocations: 53.33 MB / 426.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005084/0.1153, allocations: 3.087 MB / 429.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1173, allocations: 1.029 MB / 430.9 MB, free: 180 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.1175, allocations: 19.81 kB / 430.9 MB, free: 160 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1178, allocations: 95.11 kB / 431 MB, free: 64 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2/0.3178, allocations: 95.95 kB / 431.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.3186, allocations: 226.9 kB / 431.3 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007161/0.3193, allocations: 0.5468 MB / 431.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.3197, allocations: 149.5 kB / 432 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.32, allocations: 189.7 kB / 432.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.3202, allocations: 183 kB / 432.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.227e-05/0.3202, allocations: 40.62 kB / 432.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.3204, allocations: 54.73 kB / 432.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.3204, allocations: 86.45 kB / 432.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.3206, allocations: 226.5 kB / 432.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005776/0.3212, allocations: 0.5884 MB / 433.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3212, allocations: 0 / 433.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3212, allocations: 3.188 kB / 433.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.3212, allocations: 0 / 433.4 MB, free: 7.812 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.0009019/0.3221, allocations: 0.7543 MB / 434.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3221, allocations: 9.75 kB / 434.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.3223, allocations: 70.61 kB / 434.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.3228, allocations: 430.6 kB / 434.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.3229, allocations: 29.47 kB / 434.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/0.3229, allocations: 45.66 kB / 434.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006512/0.3236, allocations: 491.3 kB / 435.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.3236, allocations: 2.531 kB / 435.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.3236, allocations: 17.92 kB / 435.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.3237, allocations: 11.12 kB / 435.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/0.3241, allocations: 250.6 kB / 435.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.3258, allocations: 2.821 MB / 438.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.3262, allocations: 155.2 kB / 438.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.3263, allocations: 72.36 kB / 438.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.285e-05/0.3264, allocations: 87.06 kB / 438.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.3264, allocations: 32.38 kB / 438.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.3264, allocations: 2.719 kB / 438.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001199/0.3276, allocations: 0.6423 MB / 439.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.3277, allocations: 54.72 kB / 439.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.328, allocations: 342.9 kB / 439.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.328, allocations: 27.2 kB / 439.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.3281, allocations: 310.1 kB / 440 MB, free: 3.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.3282, allocations: 71.22 kB / 440 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.304e-05/0.3283, allocations: 65.31 kB / 440.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.905e-05/0.3283, allocations: 347 kB / 440.4 MB, free: 3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.3285, allocations: 67.97 kB / 440.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.3287, allocations: 216 kB / 440.7 MB, free: 2.762 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.000926/0.3296, allocations: 0.5147 MB / 441.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3296, allocations: 2.219 kB / 441.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005686/0.3302, allocations: 360.5 kB / 441.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3302, allocations: 10.66 kB / 441.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3302, allocations: 6.391 kB / 441.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001404/0.3303, allocations: 36.55 kB / 441.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.3306, allocations: 72.61 kB / 441.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.3316, allocations: 1.641 MB / 443.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.3318, allocations: 12.44 kB / 443.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.3318, allocations: 21.28 kB / 443.4 MB, free: 0.6016 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.0001591/0.3319, allocations: 166.7 kB / 443.6 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.332, allocations: 37.11 kB / 443.6 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.3321, allocations: 37.66 kB / 443.6 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3321, allocations: 7.422 kB / 443.6 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3321, allocations: 2.438 kB / 443.6 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3321, allocations: 4.984 kB / 443.6 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.3331, allocations: 0.7103 MB / 444.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3331, allocations: 1.438 kB / 444.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.3333, allocations: 32.42 kB / 444.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.064e-05/0.3334, allocations: 28.64 kB / 444.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.3334, allocations: 1.781 kB / 444.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.3346, allocations: 1.436 MB / 445.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3346, allocations: 3.938 kB / 445.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.3352, allocations: 373.4 kB / 446.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/0.3353, allocations: 106.2 kB / 446.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.3353, allocations: 6.125 kB / 446.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.3354, allocations: 3.828 kB / 446.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.3355, allocations: 18.47 kB / 446.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.3355, allocations: 7.031 kB / 446.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002799/0.3358, allocations: 237.5 kB / 446.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3358, allocations: 0.875 kB / 446.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004547/0.3362, allocations: 66.88 kB / 446.7 MB, free: 13.93 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.0001273/0.3363, allocations: 101.6 kB / 446.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007076/0.3371, allocations: 308 kB / 447.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3371, allocations: 4.562 kB / 447.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.3374, allocations: 179.9 kB / 447.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.3377, allocations: 43.56 kB / 447.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.3394, allocations: 0.8569 MB / 448.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.3399, allocations: 0.8208 MB / 449 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.34, allocations: 39.84 kB / 449 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.3401, allocations: 28.53 kB / 449 MB, free: 12.24 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3401, allocations: 1.031 kB / 449 MB, free: 12.24 MB / 366.1 MB Notification: Performance of Templates: time 0.007874/0.348, allocations: 2.805 MB / 451.8 MB, free: 12 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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.6803935170173645]