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.001341/0.001341, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.001549/0.001549, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.461/1.461, allocations: 207.6 MB / 236 MB, free: 9.984 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.001844/0.001844, allocations: 51.92 kB / 348.4 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3433, allocations: 49.17 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004367/0.3477, allocations: 3.084 MB / 400.7 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.3497, allocations: 1.023 MB / 401.7 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.35, allocations: 16.09 kB / 401.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.3503, allocations: 94.27 kB / 401.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.3505, allocations: 97.16 kB / 401.9 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006373/0.3511, allocations: 222.8 kB / 402.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006334/0.3518, allocations: 0.5416 MB / 402.7 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.3521, allocations: 151.8 kB / 402.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.3523, allocations: 185.4 kB / 403 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.3526, allocations: 178.8 kB / 403.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.931e-05/0.3526, allocations: 36.62 kB / 403.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.3528, allocations: 45.33 kB / 403.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.262e-05/0.3528, allocations: 87.97 kB / 403.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.3531, allocations: 237.1 kB / 403.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007878/0.3539, allocations: 0.5793 MB / 404.1 MB, free: 5.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3539, allocations: 2.281 kB / 404.1 MB, free: 5.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3539, allocations: 3.938 kB / 404.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.836e-05/0.3539, allocations: 0 / 404.1 MB, free: 5.258 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.0009698/0.3549, allocations: 0.6754 MB / 404.8 MB, free: 4.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3549, allocations: 16.42 kB / 404.8 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.355, allocations: 68.06 kB / 404.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000647/0.3557, allocations: 347.8 kB / 405.2 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.3557, allocations: 34.12 kB / 405.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.971e-05/0.3558, allocations: 42.11 kB / 405.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.3565, allocations: 488.5 kB / 405.8 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.3565, allocations: 1.938 kB / 405.8 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.3565, allocations: 21.69 kB / 405.8 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.3565, allocations: 16.33 kB / 405.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.357, allocations: 245.3 kB / 406.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.359, allocations: 2.752 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.3594, allocations: 154.8 kB / 409 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.3596, allocations: 71.08 kB / 409 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.161e-05/0.3597, allocations: 6.031 kB / 409.1 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.3597, allocations: 35.62 kB / 409.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.3597, allocations: 0 / 409.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001194/0.3609, allocations: 0.551 MB / 409.6 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.3609, allocations: 56.75 kB / 409.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.3612, allocations: 346.2 kB / 410 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.3613, allocations: 27.08 kB / 410.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3614, allocations: 303.8 kB / 410.4 MB, free: 480 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.3614, allocations: 70.34 kB / 410.4 MB, free: 424 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.3615, allocations: 70.69 kB / 410.5 MB, free: 376 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.3616, allocations: 350.8 kB / 410.8 MB, free: 36 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.3617, allocations: 68.05 kB / 410.9 MB, free: 12 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.362, allocations: 211.6 kB / 411.1 MB, free: 15.79 MB / 334.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.0009926/0.363, allocations: 439.6 kB / 411.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.363, allocations: 1.375 kB / 411.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006443/0.3637, allocations: 371.4 kB / 411.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.3637, allocations: 12 kB / 411.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.3637, allocations: 5.125 kB / 411.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001535/0.3639, allocations: 37.2 kB / 412 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.3641, allocations: 73.61 kB / 412 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.3657, allocations: 1.546 MB / 413.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.3659, allocations: 11.61 kB / 413.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.3659, allocations: 18.25 kB / 413.6 MB, free: 13.76 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.0002583/0.3662, allocations: 171.7 kB / 413.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.6e-05/0.3662, allocations: 43.41 kB / 413.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.04e-05/0.3663, allocations: 39.55 kB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3663, allocations: 1.25 kB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.3663, allocations: 1.344 kB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3663, allocations: 0.9375 kB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.3677, allocations: 0.6913 MB / 414.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3677, allocations: 0 / 414.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.3679, allocations: 32.34 kB / 414.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-05/0.3679, allocations: 23.38 kB / 414.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.368, allocations: 7.422 kB / 414.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.3692, allocations: 1.325 MB / 415.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3692, allocations: 1.188 kB / 415.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.3698, allocations: 366.9 kB / 416.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.3698, allocations: 29.42 kB / 416.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.3699, allocations: 6.969 kB / 416.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.37, allocations: 7.391 kB / 416.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.3701, allocations: 23.3 kB / 416.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.3701, allocations: 7.734 kB / 416.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003122/0.3704, allocations: 232.5 kB / 416.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3704, allocations: 1.188 kB / 416.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005438/0.3709, allocations: 67.34 kB / 416.7 MB, free: 11.3 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.0001801/0.3711, allocations: 100.8 kB / 416.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007186/0.3718, allocations: 311 kB / 417.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3718, allocations: 4 kB / 417.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.3721, allocations: 179.8 kB / 417.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.3725, allocations: 41.27 kB / 417.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.3743, allocations: 0.8834 MB / 418.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.3749, allocations: 0.8145 MB / 419 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.375, allocations: 36.23 kB / 419 MB, free: 9.492 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.375, allocations: 1.188 kB / 419 MB, free: 9.492 MB / 334.1 MB Notification: Performance of Templates: time 0.0115/0.3865, allocations: 6.44 MB / 425.5 MB, free: 6.004 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.132681130897254]