Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001645/0.001645, allocations: 109.6 kB / 21.93 MB, free: 5.223 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.001857/0.001857, allocations: 214 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 66.52 kB / 348.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.314, allocations: 49.15 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005284/0.3193, allocations: 2.82 MB / 400.4 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.3216, allocations: 0.9689 MB / 401.4 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.3219, allocations: 16.16 kB / 401.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.3222, allocations: 94.22 kB / 401.5 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.3224, allocations: 101.3 kB / 401.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000659/0.3231, allocations: 220.6 kB / 401.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007044/0.3238, allocations: 0.5362 MB / 402.3 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003929/0.3242, allocations: 149 kB / 402.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003806/0.3246, allocations: 180.7 kB / 402.7 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.3248, allocations: 157.8 kB / 402.8 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.005e-05/0.3249, allocations: 37.44 kB / 402.8 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.3251, allocations: 49.31 kB / 402.9 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.894e-05/0.3251, allocations: 89.41 kB / 403 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.3253, allocations: 180.5 kB / 403.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009428/0.3263, allocations: 0.5852 MB / 403.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3263, allocations: 4 kB / 403.7 MB, free: 5.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3263, allocations: 1.125 kB / 403.7 MB, free: 5.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3263, allocations: 4 kB / 403.8 MB, free: 5.562 MB / 318.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.001111/0.3274, allocations: 0.674 MB / 404.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.3275, allocations: 13.59 kB / 404.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.3276, allocations: 63.62 kB / 404.5 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007313/0.3283, allocations: 352.8 kB / 404.8 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.3284, allocations: 32.31 kB / 404.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.563e-05/0.3284, allocations: 42.45 kB / 404.9 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008108/0.3293, allocations: 487.8 kB / 405.4 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.3293, allocations: 5.703 kB / 405.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.3293, allocations: 18.28 kB / 405.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.3293, allocations: 15.38 kB / 405.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005336/0.3299, allocations: 245.6 kB / 405.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.3318, allocations: 2.62 MB / 408.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004595/0.3323, allocations: 155 kB / 408.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.3324, allocations: 65.91 kB / 408.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.73e-05/0.3325, allocations: 11.22 kB / 408.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3325, allocations: 35.94 kB / 408.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.3325, allocations: 0 / 408.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001289/0.3338, allocations: 0.5555 MB / 409.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.3339, allocations: 54.25 kB / 409.2 MB, free: 1.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004552/0.3343, allocations: 346.6 kB / 409.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3343, allocations: 30.86 kB / 409.5 MB, free: 1.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.3346, allocations: 311.4 kB / 409.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.817e-05/0.3346, allocations: 76.3 kB / 409.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3348, allocations: 70.33 kB / 410 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.3349, allocations: 350.5 kB / 410.3 MB, free: 420 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.335, allocations: 63.84 kB / 410.4 MB, free: 400 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/0.3353, allocations: 212.1 kB / 410.6 MB, free: 184 kB / 318.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.001165/0.3365, allocations: 443.1 kB / 411 MB, free: 15.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3365, allocations: 2.75 kB / 411 MB, free: 15.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008135/0.3373, allocations: 363.4 kB / 411.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.3373, allocations: 10.91 kB / 411.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.3373, allocations: 5.875 kB / 411.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.3375, allocations: 38.42 kB / 411.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.3378, allocations: 76.58 kB / 411.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.3396, allocations: 1.513 MB / 413 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.3398, allocations: 16.91 kB / 413 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.3398, allocations: 13.75 kB / 413.1 MB, free: 14.2 MB / 334.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.0002447/0.34, allocations: 182.1 kB / 413.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.3401, allocations: 37.64 kB / 413.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.451e-05/0.3402, allocations: 42.11 kB / 413.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.3402, allocations: 1.219 kB / 413.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3402, allocations: 1.406 kB / 413.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3402, allocations: 1.359 kB / 413.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009642/0.3412, allocations: 0.5628 MB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3412, allocations: 1.062 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.3413, allocations: 35.56 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.049e-05/0.3414, allocations: 23.89 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.3414, allocations: 7.469 kB / 413.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.3425, allocations: 1.3 MB / 415.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3425, allocations: 2.078 kB / 415.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/0.3431, allocations: 368.6 kB / 415.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.3432, allocations: 30.16 kB / 415.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.3432, allocations: 10.12 kB / 415.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3433, allocations: 6.641 kB / 415.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.3434, allocations: 14.83 kB / 415.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3434, allocations: 4.375 kB / 415.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.3437, allocations: 237 kB / 415.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3437, allocations: 1.062 kB / 415.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004821/0.3442, allocations: 66.44 kB / 416 MB, free: 11.89 MB / 334.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.0001356/0.3443, allocations: 106.3 kB / 416.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006568/0.345, allocations: 302.2 kB / 416.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.345, allocations: 4.969 kB / 416.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.3452, allocations: 179.5 kB / 416.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.3456, allocations: 40.75 kB / 416.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.3472, allocations: 0.8851 MB / 417.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3475, allocations: 220.2 kB / 417.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.14e-05/0.3476, allocations: 29.59 kB / 417.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3476, allocations: 0 / 417.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of Templates: time 0.01023/0.3578, allocations: 6.622 MB / 424.3 MB, free: 7.16 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.10752061707899]