Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 104.5 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 210.9 kB / 22.99 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 60.05 kB / 376.5 MB, free: 3.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2317, allocations: 53.32 MB / 429.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00442/0.2361, allocations: 3.108 MB / 432.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.238, allocations: 1.041 MB / 433.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.2382, allocations: 11.94 kB / 433.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.2385, allocations: 99.03 kB / 434 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.2387, allocations: 91.03 kB / 434.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.2392, allocations: 235.5 kB / 434.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000586/0.2398, allocations: 0.541 MB / 434.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/0.2401, allocations: 154.6 kB / 435 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.2404, allocations: 179.2 kB / 435.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.2406, allocations: 179 kB / 435.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/0.2407, allocations: 40 kB / 435.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.2408, allocations: 55.94 kB / 435.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.358e-05/0.2409, allocations: 95.62 kB / 435.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.2411, allocations: 226.7 kB / 435.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006365/0.2417, allocations: 0.5846 MB / 436.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2417, allocations: 0 / 436.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2417, allocations: 0 / 436.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.2417, allocations: 0 / 436.4 MB, free: 0.9297 MB / 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.001038/0.2427, allocations: 0.7634 MB / 437.1 MB, free: 120 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2428, allocations: 12.03 kB / 437.2 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.243, allocations: 72.3 kB / 437.2 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005842/0.2436, allocations: 430.5 kB / 437.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.2436, allocations: 29 kB / 437.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/0.2437, allocations: 44 kB / 437.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007468/0.2444, allocations: 491.3 kB / 438.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.2444, allocations: 3.938 kB / 438.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.2445, allocations: 20 kB / 438.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.2445, allocations: 12 kB / 438.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004941/0.245, allocations: 250.1 kB / 438.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.2474, allocations: 2.823 MB / 441.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.2479, allocations: 154.7 kB / 441.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.248, allocations: 60.88 kB / 441.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.2481, allocations: 81.11 kB / 441.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.2482, allocations: 46.44 kB / 441.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.2482, allocations: 0 / 441.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001306/0.2495, allocations: 0.6337 MB / 442.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.2495, allocations: 51.41 kB / 442.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.2499, allocations: 341.6 kB / 442.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.2499, allocations: 33.7 kB / 442.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.2501, allocations: 311.7 kB / 443 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.2502, allocations: 63.42 kB / 443.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/0.2503, allocations: 69.61 kB / 443.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2504, allocations: 358.7 kB / 443.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.2506, allocations: 71.89 kB / 443.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.2508, allocations: 211.5 kB / 443.7 MB, free: 9.047 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.0009469/0.2518, allocations: 0.5138 MB / 444.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2518, allocations: 4 kB / 444.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005882/0.2524, allocations: 362 kB / 444.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2524, allocations: 10.34 kB / 444.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.2524, allocations: 4 kB / 444.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.2526, allocations: 36.78 kB / 444.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.2528, allocations: 75.84 kB / 444.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.2542, allocations: 1.636 MB / 446.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.2544, allocations: 16 kB / 446.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.2544, allocations: 16 kB / 446.4 MB, free: 6.148 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.0002027/0.2546, allocations: 177.8 kB / 446.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.2547, allocations: 39.7 kB / 446.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.728e-05/0.2548, allocations: 31.59 kB / 446.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2548, allocations: 4 kB / 446.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2548, allocations: 0 / 446.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2548, allocations: 0 / 446.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009794/0.2557, allocations: 0.7181 MB / 447.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2558, allocations: 4 kB / 447.4 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.2559, allocations: 35.98 kB / 447.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.324e-05/0.256, allocations: 24.84 kB / 447.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.256, allocations: 4 kB / 447.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.2571, allocations: 1.438 MB / 448.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2571, allocations: 0 / 448.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/0.2576, allocations: 365.3 kB / 449.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.2577, allocations: 104.9 kB / 449.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.2577, allocations: 8 kB / 449.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.2579, allocations: 8.031 kB / 449.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.2579, allocations: 15.92 kB / 449.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.2579, allocations: 4 kB / 449.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002496/0.2582, allocations: 235.2 kB / 449.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2582, allocations: 4 kB / 449.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004268/0.2586, allocations: 68 kB / 449.7 MB, free: 2.605 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.0001185/0.2587, allocations: 103.2 kB / 449.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005756/0.2593, allocations: 309.9 kB / 450.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2593, allocations: 0 / 450.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.2595, allocations: 178.6 kB / 450.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.2599, allocations: 40.45 kB / 450.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.2613, allocations: 0.8674 MB / 451.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.2618, allocations: 0.8185 MB / 452 MB, free: 224 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.2619, allocations: 39.25 kB / 452 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.262, allocations: 35.42 kB / 452.1 MB, free: 144 kB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.262, allocations: 4 kB / 452.1 MB, free: 140 kB / 350.1 MB Notification: Performance of Templates: time 0.007288/0.2693, allocations: 2.879 MB / 454.9 MB, free: 13.28 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.40471457131207]