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.001262/0.001262, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001411/0.001411, allocations: 216.4 kB / 23.75 MB, free: 4.668 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 8.008 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: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 47.94 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2387, allocations: 53.35 MB / 431.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004395/0.2431, allocations: 3.099 MB / 434.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.245, allocations: 1.045 MB / 435.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.2451, allocations: 19.81 kB / 435.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.2454, allocations: 91.09 kB / 435.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.2456, allocations: 103 kB / 435.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.2461, allocations: 235.6 kB / 435.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005854/0.2467, allocations: 0.541 MB / 436.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000301/0.247, allocations: 151.2 kB / 436.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.2473, allocations: 187.2 kB / 436.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.2475, allocations: 179 kB / 436.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.2475, allocations: 36 kB / 436.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.2477, allocations: 52 kB / 436.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.2478, allocations: 91.58 kB / 436.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.248, allocations: 234.7 kB / 437.1 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006321/0.2486, allocations: 0.5915 MB / 437.7 MB, free: 220 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2486, allocations: 0 / 437.7 MB, free: 220 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2486, allocations: 0 / 437.7 MB, free: 220 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.2486, allocations: 0 / 437.7 MB, free: 220 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.0009743/0.2496, allocations: 0.6805 MB / 438.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2496, allocations: 12.03 kB / 438.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.26e-05/0.2497, allocations: 78.7 kB / 438.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.2499, allocations: 72.12 kB / 438.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006105/0.2505, allocations: 355.4 kB / 438.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.2505, allocations: 40.94 kB / 439 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.24e-05/0.2506, allocations: 43.95 kB / 439 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.2513, allocations: 487.3 kB / 439.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.2514, allocations: 15.92 kB / 439.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.2514, allocations: 20 kB / 439.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.2514, allocations: 12 kB / 439.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004939/0.2519, allocations: 242.1 kB / 439.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.2542, allocations: 2.747 MB / 442.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.2546, allocations: 154.7 kB / 442.7 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.2548, allocations: 65.11 kB / 442.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.733e-05/0.2549, allocations: 8 kB / 442.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.2549, allocations: 38.44 kB / 442.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 3.697e-06/0.2549, allocations: 3.984 kB / 442.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001237/0.2561, allocations: 0.5579 MB / 443.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.2562, allocations: 51.41 kB / 443.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.2565, allocations: 353.6 kB / 443.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.2566, allocations: 25.7 kB / 443.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.2568, allocations: 307.7 kB / 444.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.2568, allocations: 71.47 kB / 444.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/0.2569, allocations: 69.61 kB / 444.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.2571, allocations: 350.7 kB / 444.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.2573, allocations: 67.97 kB / 444.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.2575, allocations: 221 kB / 444.8 MB, free: 8.684 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.0008951/0.2584, allocations: 452.5 kB / 445.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.2584, allocations: 4 kB / 445.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005656/0.259, allocations: 358.2 kB / 445.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.259, allocations: 10.34 kB / 445.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.259, allocations: 11.97 kB / 445.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.2591, allocations: 40.84 kB / 445.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.2594, allocations: 75.84 kB / 445.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.2609, allocations: 1.524 MB / 447.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.261, allocations: 12 kB / 447.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.261, allocations: 19.98 kB / 447.3 MB, free: 6.008 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.0002166/0.2612, allocations: 180.9 kB / 447.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.2613, allocations: 39.7 kB / 447.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.748e-05/0.2614, allocations: 39.67 kB / 447.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2614, allocations: 3.984 kB / 447.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2614, allocations: 0 / 447.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2614, allocations: 3.984 kB / 447.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.2624, allocations: 0.6783 MB / 448.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2624, allocations: 0 / 448.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.2626, allocations: 35.92 kB / 448.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.012e-05/0.2627, allocations: 28.84 kB / 448.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.2627, allocations: 4 kB / 448.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.2638, allocations: 1.334 MB / 449.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2638, allocations: 0 / 449.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.2643, allocations: 373.3 kB / 450 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.2644, allocations: 27.77 kB / 450 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.2644, allocations: 4 kB / 450 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2645, allocations: 4 kB / 450 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.2646, allocations: 19.95 kB / 450.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.2646, allocations: 4.234 kB / 450.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002614/0.2648, allocations: 239.2 kB / 450.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2648, allocations: 0 / 450.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.2653, allocations: 72 kB / 450.4 MB, free: 2.719 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.0008652/0.2661, allocations: 0.9001 MB / 451.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005981/0.2667, allocations: 309.5 kB / 451.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2667, allocations: 1.375 kB / 451.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.267, allocations: 170.6 kB / 451.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.2673, allocations: 52.3 kB / 451.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004307/0.2716, allocations: 3.345 MB / 455.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.2721, allocations: 0.8224 MB / 456 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.2722, allocations: 35.27 kB / 456 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.2724, allocations: 159.4 kB / 456.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of SimCode: time 1.192e-06/0.2724, allocations: 0 / 456.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04289/0.3153, allocations: 6.602 MB / 462.8 MB, free: 6.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.66, allocations: 3.938 kB / 462.8 MB, free: 6.184 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] 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: 14.056652917992324]