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.001714/0.001714, allocations: 114 kB / 20.44 MB, free: 1.469 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.001487/0.001487, allocations: 214.8 kB / 23.74 MB, free: 4.695 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.39/1.39, allocations: 230.5 MB / 257.4 MB, free: 8.016 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: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 63.89 kB / 377.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2579, allocations: 53.41 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004979/0.2629, allocations: 3.103 MB / 434.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.265, allocations: 1.037 MB / 435.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000375/0.2654, allocations: 23.81 kB / 435.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.2657, allocations: 103 kB / 435.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.2659, allocations: 95.02 kB / 435.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.2665, allocations: 231.6 kB / 435.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000613/0.2671, allocations: 0.541 MB / 436.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.2674, allocations: 155.2 kB / 436.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.2677, allocations: 187.2 kB / 436.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.2679, allocations: 179 kB / 436.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.268, allocations: 36 kB / 436.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.2681, allocations: 56 kB / 436.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.792e-05/0.2682, allocations: 91.56 kB / 437 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.2684, allocations: 230.7 kB / 437.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006299/0.269, allocations: 0.5837 MB / 437.8 MB, free: 56 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.269, allocations: 0 / 437.8 MB, free: 56 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.269, allocations: 0 / 437.8 MB, free: 56 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.269, allocations: 0 / 437.8 MB, free: 56 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.001008/0.27, allocations: 0.6883 MB / 438.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2701, allocations: 12.03 kB / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.687e-05/0.2702, allocations: 78.7 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.2704, allocations: 68.12 kB / 438.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006105/0.271, allocations: 355.4 kB / 439 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.271, allocations: 37 kB / 439 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.2711, allocations: 43.89 kB / 439.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.2718, allocations: 491.3 kB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.2718, allocations: 7.875 kB / 439.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.2718, allocations: 23.98 kB / 439.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.2719, allocations: 12 kB / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.2723, allocations: 246.1 kB / 439.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.2746, allocations: 2.754 MB / 442.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.275, allocations: 150.7 kB / 442.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.2751, allocations: 69.09 kB / 442.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-05/0.2752, allocations: 8 kB / 442.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.2752, allocations: 46.38 kB / 442.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.2752, allocations: 0 / 442.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001206/0.2765, allocations: 0.5474 MB / 443.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.2765, allocations: 51.41 kB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.2768, allocations: 357.6 kB / 443.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.2769, allocations: 25.7 kB / 443.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.2771, allocations: 311.7 kB / 444.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.2771, allocations: 67.47 kB / 444.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.444e-05/0.2772, allocations: 69.61 kB / 444.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2774, allocations: 346.7 kB / 444.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.2775, allocations: 67.97 kB / 444.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.2778, allocations: 222.5 kB / 444.9 MB, free: 8.512 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.0008878/0.2787, allocations: 445.6 kB / 445.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2787, allocations: 4 kB / 445.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005646/0.2792, allocations: 356.4 kB / 445.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2792, allocations: 8 kB / 445.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.2793, allocations: 8.672 kB / 445.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001398/0.2794, allocations: 44.84 kB / 445.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.2796, allocations: 71.84 kB / 445.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.281, allocations: 1.527 MB / 447.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.2811, allocations: 12 kB / 447.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.2811, allocations: 19.98 kB / 447.4 MB, free: 5.848 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.0001927/0.2813, allocations: 166.5 kB / 447.5 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.2814, allocations: 43.69 kB / 447.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.597e-05/0.2814, allocations: 47.41 kB / 447.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2814, allocations: 4.062 kB / 447.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2814, allocations: 0 / 447.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2815, allocations: 3.984 kB / 447.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009597/0.2824, allocations: 0.6818 MB / 448.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.2824, allocations: 8 kB / 448.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.2826, allocations: 27.98 kB / 448.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.652e-05/0.2827, allocations: 32.88 kB / 448.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2827, allocations: 4 kB / 448.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.2837, allocations: 1.33 MB / 449.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2837, allocations: 0 / 449.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.2842, allocations: 373.2 kB / 450.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.2843, allocations: 28 kB / 450.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.2843, allocations: 8 kB / 450.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.2844, allocations: 4.062 kB / 450.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.2844, allocations: 23.94 kB / 450.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.2845, allocations: 4 kB / 450.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002303/0.2847, allocations: 239.2 kB / 450.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2847, allocations: 0 / 450.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004037/0.2851, allocations: 68 kB / 450.4 MB, free: 2.559 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.0008089/0.2859, allocations: 0.9036 MB / 451.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000554/0.2865, allocations: 299.2 kB / 451.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.2865, allocations: 3.938 kB / 451.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.2867, allocations: 166.7 kB / 451.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.287, allocations: 46.05 kB / 451.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.2912, allocations: 3.345 MB / 455.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.2917, allocations: 0.8185 MB / 456 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.2918, allocations: 47.2 kB / 456 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.292, allocations: 159.4 kB / 456.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.292, allocations: 0 / 456.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/0.3294, allocations: 6.6 MB / 462.8 MB, free: 5.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.47, allocations: 4 kB / 462.8 MB, free: 5.988 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_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: 13.749398665968329]