Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00812/0.00812, allocations: 101.6 kB / 21.96 MB, free: 5.211 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.00222/0.00222, allocations: 213.5 kB / 25.25 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 55.92 kB / 348 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2392, allocations: 49.15 MB / 397.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003849/0.243, allocations: 2.81 MB / 399.9 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.2448, allocations: 0.9709 MB / 400.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002539/0.245, allocations: 20.28 kB / 400.9 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.2453, allocations: 94.67 kB / 401 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.2455, allocations: 97.05 kB / 401.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.246, allocations: 219.9 kB / 401.3 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005657/0.2466, allocations: 0.5414 MB / 401.9 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.2469, allocations: 156.4 kB / 402 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.2471, allocations: 175.9 kB / 402.2 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.2473, allocations: 183.3 kB / 402.4 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.2474, allocations: 45 kB / 402.4 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.2475, allocations: 53.16 kB / 402.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.424e-05/0.2476, allocations: 84.62 kB / 402.5 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.2478, allocations: 181.5 kB / 402.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006423/0.2484, allocations: 0.5837 MB / 403.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2484, allocations: 0 / 403.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2484, allocations: 1.344 kB / 403.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.2484, allocations: 0 / 403.3 MB, free: 5.023 MB / 318.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.0008092/0.2492, allocations: 0.676 MB / 404 MB, free: 4.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2493, allocations: 18.64 kB / 404 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.024e-05/0.2493, allocations: 11.41 kB / 404 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.545e-05/0.2493, allocations: 82.47 kB / 404.1 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.2494, allocations: 63.19 kB / 404.1 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/0.2499, allocations: 357.9 kB / 404.5 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.25, allocations: 28.5 kB / 404.5 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.736e-05/0.25, allocations: 43.56 kB / 404.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006135/0.2506, allocations: 487.9 kB / 405 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.2507, allocations: 6.062 kB / 405 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.2507, allocations: 17.72 kB / 405.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.2507, allocations: 15.22 kB / 405.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.2511, allocations: 249.7 kB / 405.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.2528, allocations: 2.667 MB / 408 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.2532, allocations: 158.5 kB / 408.1 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.2533, allocations: 66.23 kB / 408.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-05/0.2534, allocations: 10.5 kB / 408.2 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.2534, allocations: 37.16 kB / 408.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.2534, allocations: 7.938 kB / 408.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001095/0.2545, allocations: 0.5492 MB / 408.8 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.2545, allocations: 53.86 kB / 408.9 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.2548, allocations: 345.4 kB / 409.2 MB, free: 496 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.2548, allocations: 31.08 kB / 409.2 MB, free: 460 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.2549, allocations: 300.4 kB / 409.5 MB, free: 208 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.255, allocations: 73.69 kB / 409.6 MB, free: 148 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/0.2551, allocations: 71.16 kB / 409.7 MB, free: 100 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2552, allocations: 358.7 kB / 410 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.2553, allocations: 68.45 kB / 410.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.2556, allocations: 208.1 kB / 410.3 MB, free: 15.52 MB / 334.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.0008726/0.2564, allocations: 446.7 kB / 410.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2564, allocations: 1.375 kB / 410.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005756/0.257, allocations: 363.5 kB / 411.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.257, allocations: 12.86 kB / 411.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.2571, allocations: 9.312 kB / 411.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.2572, allocations: 41.02 kB / 411.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.2574, allocations: 71.05 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.2588, allocations: 1.528 MB / 412.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.259, allocations: 16.31 kB / 412.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.259, allocations: 13.38 kB / 412.8 MB, free: 13.52 MB / 334.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.000229/0.2592, allocations: 179.4 kB / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.2593, allocations: 37.08 kB / 413 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.871e-05/0.2593, allocations: 38.11 kB / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2593, allocations: 2.531 kB / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2593, allocations: 0 / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2593, allocations: 2.438 kB / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009837/0.2603, allocations: 0.6088 MB / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2603, allocations: 1.312 kB / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.2605, allocations: 40.48 kB / 413.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.558e-05/0.2606, allocations: 23.08 kB / 413.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.2606, allocations: 6.344 kB / 413.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.2617, allocations: 1.33 MB / 415 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2617, allocations: 1.031 kB / 415 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.2622, allocations: 360.8 kB / 415.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.2622, allocations: 37.25 kB / 415.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.2623, allocations: 6.828 kB / 415.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.2624, allocations: 8 kB / 415.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.2624, allocations: 18.8 kB / 415.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.2625, allocations: 4.578 kB / 415.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002525/0.2627, allocations: 233 kB / 415.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2627, allocations: 0 / 415.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004323/0.2631, allocations: 67.84 kB / 415.8 MB, free: 11.13 MB / 334.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.0008158/0.264, allocations: 0.9031 MB / 416.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005509/0.2645, allocations: 296.9 kB / 416.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2645, allocations: 2.5 kB / 416.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.2647, allocations: 187.6 kB / 417.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.2651, allocations: 36.92 kB / 417.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.2694, allocations: 3.348 MB / 420.5 MB, free: 7.559 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.2696, allocations: 212.2 kB / 420.7 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.2698, allocations: 37.97 kB / 420.8 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.27, allocations: 158.5 kB / 420.9 MB, free: 7.262 MB / 334.1 MB Notification: Performance of SimCode: time 1.112e-06/0.27, allocations: 0.9688 kB / 420.9 MB, free: 7.262 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/0.3037, allocations: 6.66 MB / 427.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.7, allocations: 7.906 kB / 427.6 MB, free: 3.438 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.984546535066329]