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.00123/0.00123, 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.001353/0.001353, allocations: 208.5 kB / 23.73 MB, free: 4.387 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.39/1.39, 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: "" <> 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.001535/0.001535, allocations: 47.92 kB / 377.7 MB, free: 3.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2454, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004061/0.2495, allocations: 2.836 MB / 433.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.2511, allocations: 0.9864 MB / 434.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.2512, allocations: 15.88 kB / 434.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.2515, allocations: 95.05 kB / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.2516, allocations: 95.02 kB / 435.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.2521, allocations: 231.6 kB / 435.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005895/0.2527, allocations: 0.5448 MB / 435.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.253, allocations: 151.2 kB / 436 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.2533, allocations: 183.3 kB / 436.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.2535, allocations: 182.9 kB / 436.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.553e-05/0.2536, allocations: 36 kB / 436.4 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.2537, allocations: 55.92 kB / 436.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.2538, allocations: 95.64 kB / 436.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.254, allocations: 175 kB / 436.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.2546, allocations: 0.5954 MB / 437.3 MB, free: 376 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.2546, allocations: 0 / 437.3 MB, free: 376 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2546, allocations: 0 / 437.3 MB, free: 376 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.2546, allocations: 0 / 437.3 MB, free: 376 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.001025/0.2556, allocations: 0.6764 MB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2557, allocations: 16.02 kB / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.209e-05/0.2558, allocations: 78.72 kB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.2559, allocations: 76.11 kB / 438.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.2566, allocations: 351.5 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.2566, allocations: 29 kB / 438.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.312e-05/0.2567, allocations: 51.89 kB / 438.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007656/0.2574, allocations: 487.3 kB / 439.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.2575, allocations: 11.94 kB / 439.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.2575, allocations: 16 kB / 439.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.2575, allocations: 15.98 kB / 439.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.258, allocations: 242.1 kB / 439.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.2603, allocations: 2.676 MB / 442 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.2607, allocations: 150.7 kB / 442.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.2608, allocations: 69.06 kB / 442.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.497e-05/0.2609, allocations: 11.92 kB / 442.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.2609, allocations: 34.5 kB / 442.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.2609, allocations: 4 kB / 442.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001234/0.2622, allocations: 0.5476 MB / 442.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.2622, allocations: 51.41 kB / 442.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.2626, allocations: 365.5 kB / 443.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.2626, allocations: 29.64 kB / 443.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.2628, allocations: 311.7 kB / 443.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.2629, allocations: 67.45 kB / 443.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.895e-05/0.263, allocations: 69.61 kB / 443.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2631, allocations: 350.7 kB / 444 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.2633, allocations: 75.97 kB / 444.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.2635, allocations: 219.5 kB / 444.3 MB, free: 8.898 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.0009064/0.2644, allocations: 444.3 kB / 444.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2644, allocations: 0 / 444.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005727/0.265, allocations: 364.4 kB / 445.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.265, allocations: 11.94 kB / 445.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.265, allocations: 4 kB / 445.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.2652, allocations: 37.53 kB / 445.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.2654, allocations: 75.91 kB / 445.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.2668, allocations: 1.524 MB / 446.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.267, allocations: 16 kB / 446.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.267, allocations: 15.98 kB / 446.8 MB, free: 6.238 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.0002401/0.2673, allocations: 177.6 kB / 447 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.2673, allocations: 43.7 kB / 447 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.73e-05/0.2674, allocations: 39.59 kB / 447.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2674, allocations: 4 kB / 447.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2674, allocations: 0 / 447.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2674, allocations: 0 / 447.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000983/0.2684, allocations: 0.6146 MB / 447.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2684, allocations: 0 / 447.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.2686, allocations: 31.98 kB / 447.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-05/0.2687, allocations: 28.84 kB / 447.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2687, allocations: 0 / 447.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.2698, allocations: 1.331 MB / 449.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2698, allocations: 4.031 kB / 449.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000521/0.2703, allocations: 371.7 kB / 449.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.2703, allocations: 31.77 kB / 449.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.2704, allocations: 0 / 449.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.2705, allocations: 8 kB / 449.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.2705, allocations: 19.95 kB / 449.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.2705, allocations: 8.062 kB / 449.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.2708, allocations: 235.1 kB / 449.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2708, allocations: 0 / 449.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004327/0.2712, allocations: 71.94 kB / 449.8 MB, free: 3.035 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.0008759/0.2721, allocations: 0.8973 MB / 450.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006007/0.2727, allocations: 306.6 kB / 451 MB, free: 1.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2727, allocations: 0 / 451 MB, free: 1.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.2729, allocations: 178.6 kB / 451.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.2733, allocations: 38.61 kB / 451.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.2775, allocations: 3.364 MB / 454.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.2778, allocations: 211.1 kB / 454.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.2779, allocations: 43.2 kB / 454.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.2781, allocations: 155.4 kB / 455 MB, free: 13.55 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2781, allocations: 0 / 455 MB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03988/0.318, allocations: 7.027 MB / 462 MB, free: 6.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.29, allocations: 15.55 kB / 462 MB, free: 6.715 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.529787769017275]