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.001685/0.001685, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002007/0.002007, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.001634/0.001634, allocations: 43.92 kB / 378.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2572, allocations: 53.36 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004641/0.2618, allocations: 2.836 MB / 434.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.2638, allocations: 0.9942 MB / 435.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.2641, allocations: 19.88 kB / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.2643, allocations: 91.05 kB / 435.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.2646, allocations: 99 kB / 435.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.2651, allocations: 231.6 kB / 435.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005983/0.2657, allocations: 0.5409 MB / 436.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003085/0.266, allocations: 151.2 kB / 436.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.2663, allocations: 183.3 kB / 436.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.2665, allocations: 186.9 kB / 436.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.2666, allocations: 36 kB / 436.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.2667, allocations: 59.98 kB / 437 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.2668, allocations: 87.64 kB / 437 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.267, allocations: 175 kB / 437.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006559/0.2676, allocations: 0.5894 MB / 437.8 MB, free: 476 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2676, allocations: 0 / 437.8 MB, free: 476 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2676, allocations: 0 / 437.8 MB, free: 476 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.2677, allocations: 0 / 437.8 MB, free: 476 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.001067/0.2687, allocations: 0.6881 MB / 438.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2688, allocations: 16.02 kB / 438.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.269, allocations: 68.31 kB / 438.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006826/0.2697, allocations: 359.4 kB / 438.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.2697, allocations: 29 kB / 439 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.2698, allocations: 47.95 kB / 439 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007693/0.2705, allocations: 483.3 kB / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.2706, allocations: 7.938 kB / 439.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.2706, allocations: 20 kB / 439.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.2706, allocations: 12 kB / 439.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005073/0.2711, allocations: 250.1 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.2735, allocations: 2.622 MB / 442.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/0.274, allocations: 158.6 kB / 442.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.2741, allocations: 64.88 kB / 442.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.272e-05/0.2742, allocations: 8 kB / 442.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.2743, allocations: 34.56 kB / 442.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.2743, allocations: 0 / 442.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001279/0.2755, allocations: 0.5586 MB / 443.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.2756, allocations: 55.41 kB / 443.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.276, allocations: 361.4 kB / 443.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.276, allocations: 29.7 kB / 443.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.2762, allocations: 303.8 kB / 443.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.2763, allocations: 71.42 kB / 444 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.482e-05/0.2764, allocations: 69.61 kB / 444.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.2766, allocations: 350.7 kB / 444.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.2767, allocations: 67.95 kB / 444.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.277, allocations: 219.4 kB / 444.7 MB, free: 9.148 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.0009458/0.278, allocations: 456.6 kB / 445.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.278, allocations: 0 / 445.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006151/0.2786, allocations: 369.3 kB / 445.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.2786, allocations: 12 kB / 445.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2786, allocations: 4 kB / 445.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.2788, allocations: 36.83 kB / 445.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.279, allocations: 71.91 kB / 445.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.2804, allocations: 1.501 MB / 447.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.2806, allocations: 19.98 kB / 447.1 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.2806, allocations: 12 kB / 447.2 MB, free: 6.512 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.0002055/0.2808, allocations: 169.8 kB / 447.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.2809, allocations: 35.77 kB / 447.4 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.997e-05/0.281, allocations: 43.47 kB / 447.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.281, allocations: 3.984 kB / 447.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.281, allocations: 0 / 447.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.281, allocations: 4 kB / 447.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009667/0.2819, allocations: 0.5583 MB / 448 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2819, allocations: 11.97 kB / 448 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.2821, allocations: 27.98 kB / 448 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.385e-05/0.2822, allocations: 24.98 kB / 448 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.2822, allocations: 8 kB / 448 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.2832, allocations: 1.304 MB / 449.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2832, allocations: 0 / 449.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/0.2838, allocations: 372 kB / 449.7 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.2838, allocations: 31.83 kB / 449.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.2839, allocations: 4 kB / 449.7 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.284, allocations: 8.031 kB / 449.7 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.284, allocations: 11.98 kB / 449.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.284, allocations: 4 kB / 449.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002564/0.2843, allocations: 239.2 kB / 450 MB, free: 3.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2843, allocations: 3.938 kB / 450 MB, free: 3.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004377/0.2847, allocations: 68 kB / 450.1 MB, free: 3.418 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.0001369/0.2849, allocations: 103.2 kB / 450.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006232/0.2855, allocations: 303.7 kB / 450.5 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2855, allocations: 3.938 kB / 450.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.2858, allocations: 174.6 kB / 450.6 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.2861, allocations: 49.48 kB / 450.7 MB, free: 2.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.2877, allocations: 0.8637 MB / 451.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.2879, allocations: 211.2 kB / 451.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.288, allocations: 39.27 kB / 451.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.2881, allocations: 31.42 kB / 451.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2881, allocations: 0 / 451.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of Templates: time 0.008193/0.2963, allocations: 3.279 MB / 455.1 MB, free: 14.35 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.60315503180027]