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.001694/0.001694, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002227/0.002227, allocations: 216.1 kB / 24.47 MB, free: 3.777 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.334/1.334, allocations: 207.7 MB / 235.3 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",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.001781/0.001781, allocations: 55.92 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2443, allocations: 49.15 MB / 396.3 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003746/0.2481, allocations: 2.832 MB / 399.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.25, allocations: 0.9633 MB / 400.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.2502, allocations: 19.19 kB / 400.1 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.2505, allocations: 97.92 kB / 400.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.2507, allocations: 97.12 kB / 400.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.2513, allocations: 216.1 kB / 400.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005879/0.2519, allocations: 0.541 MB / 401.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.2521, allocations: 148.3 kB / 401.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.2524, allocations: 184.4 kB / 401.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.2526, allocations: 163.3 kB / 401.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.264e-05/0.2527, allocations: 36.56 kB / 401.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.2528, allocations: 49.8 kB / 401.6 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.2529, allocations: 83.14 kB / 401.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.253, allocations: 182 kB / 401.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007971/0.2538, allocations: 0.5843 MB / 402.5 MB, free: 5.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2538, allocations: 0 / 402.5 MB, free: 5.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2538, allocations: 4.969 kB / 402.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.2538, allocations: 0 / 402.5 MB, free: 5.055 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.0009839/0.2548, allocations: 0.6815 MB / 403.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.2549, allocations: 13.64 kB / 403.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.898e-05/0.255, allocations: 76.95 kB / 403.3 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.2551, allocations: 63.22 kB / 403.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006929/0.2557, allocations: 354.1 kB / 403.7 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.2558, allocations: 27.56 kB / 403.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-05/0.2559, allocations: 42.58 kB / 403.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008115/0.2567, allocations: 490.2 kB / 404.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.2567, allocations: 2.219 kB / 404.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.2567, allocations: 21.58 kB / 404.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.2568, allocations: 15.64 kB / 404.3 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000564/0.2573, allocations: 245 kB / 404.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.2592, allocations: 2.675 MB / 407.2 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.2596, allocations: 158.5 kB / 407.3 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.2597, allocations: 67.17 kB / 407.4 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.525e-05/0.2598, allocations: 6.562 kB / 407.4 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.2599, allocations: 35.94 kB / 407.4 MB, free: 1.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.2599, allocations: 0 / 407.4 MB, free: 1.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001231/0.2611, allocations: 0.556 MB / 408 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.2611, allocations: 55.27 kB / 408 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.2615, allocations: 355.5 kB / 408.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.2615, allocations: 25.7 kB / 408.4 MB, free: 492 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.2617, allocations: 307.9 kB / 408.7 MB, free: 236 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.2618, allocations: 74.8 kB / 408.8 MB, free: 176 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-05/0.2619, allocations: 70.78 kB / 408.9 MB, free: 128 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.2621, allocations: 347.2 kB / 409.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.2622, allocations: 71.98 kB / 409.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.2624, allocations: 210.6 kB / 409.5 MB, free: 15.55 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.0009112/0.2634, allocations: 447.9 kB / 409.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.2634, allocations: 1.375 kB / 409.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005907/0.2639, allocations: 369.5 kB / 410.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.264, allocations: 10.75 kB / 410.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.264, allocations: 5.219 kB / 410.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.2641, allocations: 38.19 kB / 410.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.2644, allocations: 68.78 kB / 410.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.2659, allocations: 1.533 MB / 411.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.266, allocations: 16.47 kB / 411.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.2661, allocations: 14.73 kB / 412 MB, free: 13.54 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.0002198/0.2663, allocations: 178.5 kB / 412.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.2663, allocations: 39.58 kB / 412.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.849e-05/0.2664, allocations: 36.67 kB / 412.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2664, allocations: 2.062 kB / 412.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2664, allocations: 0 / 412.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2664, allocations: 1.312 kB / 412.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009896/0.2674, allocations: 0.6171 MB / 412.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2674, allocations: 1.031 kB / 412.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.2676, allocations: 35.48 kB / 412.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.159e-05/0.2677, allocations: 28.5 kB / 412.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.2677, allocations: 2.078 kB / 412.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.2688, allocations: 1.329 MB / 414.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2688, allocations: 0.875 kB / 414.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.2693, allocations: 360.6 kB / 414.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.2694, allocations: 29.97 kB / 414.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.2694, allocations: 3.234 kB / 414.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.2695, allocations: 11.73 kB / 414.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.2696, allocations: 18.69 kB / 414.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.2696, allocations: 8.375 kB / 414.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.2698, allocations: 232.9 kB / 414.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2698, allocations: 0 / 414.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004485/0.2703, allocations: 67 kB / 414.9 MB, free: 11.16 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.0008163/0.2711, allocations: 0.8997 MB / 415.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005695/0.2717, allocations: 298.8 kB / 416.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2717, allocations: 1.469 kB / 416.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.2719, allocations: 195 kB / 416.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.2722, allocations: 37.11 kB / 416.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.2765, allocations: 3.343 MB / 419.7 MB, free: 7.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.2767, allocations: 212.4 kB / 419.9 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.2768, allocations: 37.58 kB / 419.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.277, allocations: 162.5 kB / 420.1 MB, free: 7.289 MB / 334.1 MB Notification: Performance of SimCode: time 6.82e-07/0.277, allocations: 0.8125 kB / 420.1 MB, free: 7.289 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0488/0.3258, allocations: 6.89 MB / 427 MB, free: 3.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.52, allocations: 0 / 427 MB, free: 3.25 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.727136647794396]