Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001387/0.001387, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001516/0.001516, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.498/1.498, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/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: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.84 kB / 378.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2667, allocations: 53.32 MB / 432 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005117/0.2719, allocations: 3.097 MB / 435.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.274, allocations: 1.041 MB / 436.2 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.2742, allocations: 11.94 kB / 436.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.2745, allocations: 95.03 kB / 436.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.2747, allocations: 99.02 kB / 436.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.2752, allocations: 235.5 kB / 436.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005979/0.2758, allocations: 0.5448 MB / 437.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.2761, allocations: 146.7 kB / 437.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002749/0.2764, allocations: 183.2 kB / 437.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.2766, allocations: 179 kB / 437.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.333e-05/0.2767, allocations: 40 kB / 437.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.2768, allocations: 63.92 kB / 437.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.631e-05/0.2769, allocations: 87.64 kB / 437.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.2771, allocations: 226.7 kB / 438 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006773/0.2778, allocations: 0.5849 MB / 438.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2778, allocations: 0 / 438.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2778, allocations: 3.938 kB / 438.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.2778, allocations: 0 / 438.6 MB, free: 0.7773 MB / 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.00112/0.2789, allocations: 0.7607 MB / 439.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2789, allocations: 8.031 kB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.2792, allocations: 71.17 kB / 439.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.2798, allocations: 430.6 kB / 439.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.2799, allocations: 29 kB / 439.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.2799, allocations: 40 kB / 440 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007655/0.2807, allocations: 491.2 kB / 440.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.2807, allocations: 11.89 kB / 440.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.2808, allocations: 20 kB / 440.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.2808, allocations: 15.94 kB / 440.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.2813, allocations: 242.2 kB / 440.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.2837, allocations: 2.827 MB / 443.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.2842, allocations: 154.7 kB / 443.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.2843, allocations: 64.83 kB / 443.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.2844, allocations: 85.09 kB / 443.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.2845, allocations: 34.56 kB / 443.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.2845, allocations: 0 / 443.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001339/0.2858, allocations: 0.6361 MB / 444.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/0.2859, allocations: 59.34 kB / 444.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003763/0.2863, allocations: 341.7 kB / 444.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.2863, allocations: 29.7 kB / 444.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.2865, allocations: 311.7 kB / 445.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.2866, allocations: 71.42 kB / 445.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.2867, allocations: 69.61 kB / 445.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.2869, allocations: 346.8 kB / 445.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.2871, allocations: 63.97 kB / 445.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.2873, allocations: 219.4 kB / 446 MB, free: 8.895 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.0009793/0.2883, allocations: 0.5161 MB / 446.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2883, allocations: 0 / 446.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006044/0.2889, allocations: 361.8 kB / 446.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2889, allocations: 4 kB / 446.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.2889, allocations: 8 kB / 446.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.2891, allocations: 32.84 kB / 446.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.2893, allocations: 75.89 kB / 447 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.2908, allocations: 1.635 MB / 448.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.291, allocations: 20.06 kB / 448.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.291, allocations: 15.98 kB / 448.7 MB, free: 6 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.0002158/0.2912, allocations: 176.7 kB / 448.8 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.2913, allocations: 35.77 kB / 448.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.403e-05/0.2913, allocations: 39.59 kB / 448.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2913, allocations: 3.938 kB / 448.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2914, allocations: 7.984 kB / 448.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2914, allocations: 0 / 448.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.2924, allocations: 0.7103 MB / 449.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2924, allocations: 144 / 449.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.2926, allocations: 39.91 kB / 449.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.66e-05/0.2927, allocations: 28.77 kB / 449.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.2927, allocations: 8 kB / 449.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.2938, allocations: 1.422 MB / 451.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2938, allocations: 3.938 kB / 451.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005378/0.2943, allocations: 365.3 kB / 451.5 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.2945, allocations: 108.9 kB / 451.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.2945, allocations: 7.969 kB / 451.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.2946, allocations: 8 kB / 451.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.2946, allocations: 15.92 kB / 451.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.2947, allocations: 8 kB / 451.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002514/0.2949, allocations: 239.2 kB / 451.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2949, allocations: 0 / 451.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004297/0.2953, allocations: 68 kB / 451.9 MB, free: 2.453 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.000132/0.2955, allocations: 103.2 kB / 452 MB, free: 2.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006032/0.2961, allocations: 298.9 kB / 452.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2961, allocations: 0 / 452.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.2963, allocations: 182.6 kB / 452.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.2967, allocations: 45.16 kB / 452.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.2981, allocations: 0.8672 MB / 453.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.2986, allocations: 0.8107 MB / 454.2 MB, free: 68 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.2987, allocations: 43.27 kB / 454.3 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.676e-05/0.2988, allocations: 35.5 kB / 454.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2988, allocations: 0 / 454.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Templates: time 0.007502/0.3063, allocations: 2.882 MB / 457.2 MB, free: 13.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.475416506174952]