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.001302/0.001302, allocations: 112.2 kB / 21.19 MB, free: 0.7539 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.001432/0.001432, allocations: 213.7 kB / 24.49 MB, free: 4.137 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.412/1.412, allocations: 230.6 MB / 258.3 MB, free: 7.973 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.001593/0.001593, allocations: 51.92 kB / 379 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2333, allocations: 53.35 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004419/0.2377, allocations: 3.101 MB / 435.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.2396, allocations: 1.045 MB / 436.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.2399, allocations: 19.75 kB / 436.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.2402, allocations: 95.05 kB / 436.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.2404, allocations: 103 kB / 436.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.241, allocations: 231.5 kB / 437 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000681/0.2417, allocations: 0.5449 MB / 437.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.2421, allocations: 143.2 kB / 437.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.2424, allocations: 187.2 kB / 437.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.2427, allocations: 179 kB / 438 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.512e-05/0.2427, allocations: 36 kB / 438 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.2429, allocations: 63.98 kB / 438.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.2429, allocations: 87.64 kB / 438.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.2432, allocations: 234.6 kB / 438.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006659/0.2438, allocations: 0.5846 MB / 439 MB, free: 260 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2438, allocations: 0 / 439 MB, free: 260 kB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2438, allocations: 0 / 439 MB, free: 260 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.2439, allocations: 0 / 439 MB, free: 260 kB / 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.001112/0.245, allocations: 0.6842 MB / 439.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.245, allocations: 8.031 kB / 439.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.2452, allocations: 80.3 kB / 439.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006773/0.2459, allocations: 359.4 kB / 440.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.2459, allocations: 29 kB / 440.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.63e-05/0.246, allocations: 47.89 kB / 440.2 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000799/0.2468, allocations: 483.3 kB / 440.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.2468, allocations: 15.92 kB / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.2469, allocations: 20 kB / 440.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.2469, allocations: 12 kB / 440.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.2474, allocations: 246.1 kB / 441 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.2499, allocations: 2.747 MB / 443.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.2504, allocations: 158.7 kB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.2505, allocations: 60.84 kB / 443.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.671e-05/0.2506, allocations: 7.984 kB / 443.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.2506, allocations: 38.5 kB / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.2506, allocations: 0 / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00133/0.252, allocations: 0.5638 MB / 444.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.252, allocations: 55.41 kB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.2524, allocations: 349.6 kB / 444.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.2524, allocations: 33.64 kB / 445 MB, free: 9.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.2527, allocations: 311.7 kB / 445.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/0.2527, allocations: 63.47 kB / 445.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.2528, allocations: 69.61 kB / 445.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.253, allocations: 354.7 kB / 445.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.2531, allocations: 63.97 kB / 445.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.2534, allocations: 221 kB / 446 MB, free: 8.805 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.0009376/0.2543, allocations: 445.5 kB / 446.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2543, allocations: 4 kB / 446.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006015/0.2549, allocations: 364.5 kB / 446.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2549, allocations: 4 kB / 446.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.255, allocations: 8 kB / 446.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001445/0.2551, allocations: 32.84 kB / 446.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.2553, allocations: 75.84 kB / 446.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.2569, allocations: 1.532 MB / 448.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.2571, allocations: 16 kB / 448.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.2571, allocations: 12 kB / 448.5 MB, free: 6.141 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.0002233/0.2573, allocations: 185.6 kB / 448.7 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.2574, allocations: 39.7 kB / 448.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.878e-05/0.2575, allocations: 43.47 kB / 448.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2575, allocations: 0 / 448.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2575, allocations: 4 kB / 448.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2575, allocations: 0 / 448.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.2585, allocations: 0.686 MB / 449.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2585, allocations: 0 / 449.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.2587, allocations: 35.92 kB / 449.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.701e-05/0.2588, allocations: 20.84 kB / 449.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.2588, allocations: 8 kB / 449.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.2599, allocations: 1.335 MB / 450.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2599, allocations: 0 / 450.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.2604, allocations: 373.3 kB / 451.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.2605, allocations: 27.77 kB / 451.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.2605, allocations: 4 kB / 451.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2606, allocations: 4 kB / 451.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.2607, allocations: 23.91 kB / 451.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.2607, allocations: 4 kB / 451.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000263/0.2609, allocations: 235.2 kB / 451.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2609, allocations: 0 / 451.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004312/0.2614, allocations: 72 kB / 451.6 MB, free: 2.84 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.000113/0.2615, allocations: 107.1 kB / 451.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006008/0.2621, allocations: 299.8 kB / 452 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2621, allocations: 0 / 452 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.2623, allocations: 178.5 kB / 452.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.2626, allocations: 36.78 kB / 452.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.2642, allocations: 0.9083 MB / 453.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.2646, allocations: 0.8146 MB / 453.9 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.964e-05/0.2647, allocations: 31.42 kB / 453.9 MB, free: 396 kB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2647, allocations: 0 / 453.9 MB, free: 396 kB / 350.1 MB Notification: Performance of Templates: time 0.01/0.2747, allocations: 6.467 MB / 460.4 MB, free: 9.91 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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: 7.1441995550412685]