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.001345/0.001345, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001643/0.001643, allocations: 203.8 kB / 23.72 MB, free: 4.391 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.727 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.002079/0.002079, allocations: 63.91 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2587, allocations: 53.39 MB / 431.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004614/0.2633, allocations: 2.832 MB / 434 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.2654, allocations: 0.9864 MB / 434.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003263/0.2657, allocations: 19.81 kB / 435 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.2661, allocations: 103 kB / 435.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.2664, allocations: 91.02 kB / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.267, allocations: 235.6 kB / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007181/0.2677, allocations: 0.5332 MB / 435.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.268, allocations: 143.2 kB / 436 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.2683, allocations: 191.2 kB / 436.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.2686, allocations: 155 kB / 436.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.2686, allocations: 36 kB / 436.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.2687, allocations: 60 kB / 436.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.948e-05/0.2688, allocations: 87.62 kB / 436.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.269, allocations: 183 kB / 436.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006667/0.2697, allocations: 0.5966 MB / 437.3 MB, free: 208 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2697, allocations: 0 / 437.3 MB, free: 208 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2697, allocations: 0 / 437.3 MB, free: 208 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.2697, allocations: 0 / 437.3 MB, free: 208 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.001077/0.2708, allocations: 0.6881 MB / 438 MB, free: 15.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2708, allocations: 11.98 kB / 438 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.2709, allocations: 78.72 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.2711, allocations: 72.11 kB / 438.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006937/0.2718, allocations: 359.4 kB / 438.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.2718, allocations: 29 kB / 438.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/0.2719, allocations: 43.95 kB / 438.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007753/0.2727, allocations: 487.3 kB / 439.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.2727, allocations: 7.938 kB / 439.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.2727, allocations: 16 kB / 439.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.2727, allocations: 16 kB / 439.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.2733, allocations: 254.1 kB / 439.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.2757, allocations: 2.669 MB / 442 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.2762, allocations: 157.8 kB / 442.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.2763, allocations: 65.11 kB / 442.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-05/0.2764, allocations: 11.94 kB / 442.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.2765, allocations: 38.5 kB / 442.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.2765, allocations: 0 / 442.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001338/0.2778, allocations: 0.5543 MB / 442.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.2778, allocations: 55.41 kB / 442.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.2783, allocations: 357.5 kB / 443.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.2783, allocations: 29.7 kB / 443.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.2785, allocations: 323.6 kB / 443.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.026e-05/0.2786, allocations: 59.48 kB / 443.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.733e-05/0.2787, allocations: 69.61 kB / 443.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.2789, allocations: 350.7 kB / 444.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.279, allocations: 63.97 kB / 444.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.2793, allocations: 226.5 kB / 444.4 MB, free: 8.734 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.0009711/0.2802, allocations: 450.3 kB / 444.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2802, allocations: 0 / 444.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006209/0.2809, allocations: 365 kB / 445.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.2809, allocations: 7.984 kB / 445.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.2809, allocations: 8 kB / 445.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/0.281, allocations: 32.84 kB / 445.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.2813, allocations: 75.84 kB / 445.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.2828, allocations: 1.524 MB / 446.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.2829, allocations: 15.98 kB / 446.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.283, allocations: 16.09 kB / 446.8 MB, free: 6.074 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.000237/0.2832, allocations: 173.7 kB / 447 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.2833, allocations: 39.7 kB / 447 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.635e-05/0.2834, allocations: 43.52 kB / 447.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2834, allocations: 0 / 447.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2834, allocations: 4 kB / 447.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.2834, allocations: 3.938 kB / 447.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.2844, allocations: 0.6164 MB / 447.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2844, allocations: 0 / 447.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.2846, allocations: 35.92 kB / 447.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.418e-05/0.2847, allocations: 24.84 kB / 447.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.2847, allocations: 4 kB / 447.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.2859, allocations: 1.323 MB / 449.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2859, allocations: 0 / 449.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.2864, allocations: 375.6 kB / 449.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.2865, allocations: 31.77 kB / 449.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.2865, allocations: 12.03 kB / 449.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2866, allocations: 4 kB / 449.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.2867, allocations: 15.92 kB / 449.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.2867, allocations: 7.984 kB / 449.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002599/0.2869, allocations: 239.1 kB / 449.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2869, allocations: 0 / 449.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004455/0.2874, allocations: 68 kB / 449.8 MB, free: 2.867 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.0009198/0.2883, allocations: 0.9003 MB / 450.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006127/0.2889, allocations: 295.7 kB / 451 MB, free: 1.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2889, allocations: 4 kB / 451 MB, free: 1.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.2892, allocations: 178.7 kB / 451.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.2895, allocations: 45.42 kB / 451.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.2942, allocations: 3.353 MB / 454.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.2944, allocations: 211.2 kB / 454.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.2945, allocations: 43.25 kB / 454.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.2947, allocations: 155.4 kB / 455 MB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2947, allocations: 0 / 455 MB, free: 13.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04071/0.3355, allocations: 6.919 MB / 461.9 MB, free: 6.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.17, allocations: 7.875 kB / 461.9 MB, free: 6.621 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable directCapacity.heatCapacitor.T in file Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directCapacity.heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.635949698742479]