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.001402/0.001402, allocations: 83.69 kB / 22 MB, free: 5.18 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.00141/0.00141, allocations: 161.8 kB / 25.25 MB, free: 3.02 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.337/1.337, allocations: 158.6 MB / 187 MB, free: 6.484 MB / 174.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: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [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.002877/0.002877, allocations: 55.92 kB / 299.3 MB, free: 8.816 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2607, allocations: 49.14 MB / 348.5 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004643/0.2654, allocations: 2.817 MB / 351.3 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.2676, allocations: 0.9648 MB / 352.3 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.2679, allocations: 19.91 kB / 352.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.2681, allocations: 101.6 kB / 352.4 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.2684, allocations: 98.09 kB / 352.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.2689, allocations: 217 kB / 352.7 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006161/0.2695, allocations: 0.5383 MB / 353.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.2698, allocations: 147.5 kB / 353.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.27, allocations: 185.2 kB / 353.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.2703, allocations: 162.5 kB / 353.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.903e-05/0.2703, allocations: 36.38 kB / 353.8 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.2704, allocations: 48.3 kB / 353.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.2705, allocations: 88.36 kB / 353.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.2707, allocations: 178.5 kB / 354.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007325/0.2715, allocations: 0.5817 MB / 354.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2715, allocations: 3.938 kB / 354.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.2715, allocations: 1.219 kB / 354.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.2715, allocations: 4 kB / 354.7 MB, free: 10.9 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.001135/0.2726, allocations: 0.683 MB / 355.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2727, allocations: 20.61 kB / 355.4 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.2728, allocations: 60.31 kB / 355.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.2734, allocations: 347.5 kB / 355.8 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.2735, allocations: 29 kB / 355.8 MB, free: 9.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.214e-05/0.2735, allocations: 43.95 kB / 355.8 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007916/0.2743, allocations: 491.4 kB / 356.3 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.2744, allocations: 4 kB / 356.3 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.2744, allocations: 16 kB / 356.3 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.2744, allocations: 12 kB / 356.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005148/0.2749, allocations: 258.1 kB / 356.6 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/0.2774, allocations: 2.611 MB / 359.2 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.2778, allocations: 154.7 kB / 359.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.278, allocations: 68.83 kB / 359.4 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.481e-05/0.278, allocations: 12 kB / 359.4 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.2781, allocations: 30.56 kB / 359.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.2781, allocations: 0 / 359.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.00133/0.2794, allocations: 0.5601 MB / 360 MB, free: 5.363 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.2795, allocations: 55.39 kB / 360.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.2799, allocations: 357.5 kB / 360.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.2799, allocations: 25.7 kB / 360.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.2801, allocations: 303.8 kB / 360.7 MB, free: 4.605 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.068e-05/0.2802, allocations: 75.42 kB / 360.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.2803, allocations: 69.61 kB / 360.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00026/0.2806, allocations: 350.7 kB / 361.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.2807, allocations: 63.97 kB / 361.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.281, allocations: 219.6 kB / 361.5 MB, free: 3.758 MB / 318.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.001076/0.2821, allocations: 443.3 kB / 361.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2821, allocations: 4 kB / 361.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006053/0.2827, allocations: 358.3 kB / 362.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.2828, allocations: 12.03 kB / 362.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.2828, allocations: 8 kB / 362.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.2829, allocations: 36.84 kB / 362.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.2832, allocations: 67.91 kB / 362.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.2847, allocations: 1.516 MB / 363.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.2849, allocations: 11.94 kB / 363.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.2849, allocations: 23.98 kB / 364 MB, free: 1.109 MB / 318.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.0002519/0.2852, allocations: 173.8 kB / 364.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/0.2852, allocations: 35.77 kB / 364.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.635e-05/0.2853, allocations: 43.41 kB / 364.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2853, allocations: 4 kB / 364.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2853, allocations: 0 / 364.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2853, allocations: 0 / 364.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009606/0.2863, allocations: 0.5586 MB / 364.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.2863, allocations: 8.016 kB / 364.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.2865, allocations: 31.98 kB / 364.8 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.292e-05/0.2865, allocations: 32.78 kB / 364.8 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2866, allocations: 0 / 364.8 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.2878, allocations: 1.304 MB / 366.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2878, allocations: 7.969 kB / 366.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/0.2883, allocations: 353.3 kB / 366.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.2884, allocations: 47.81 kB / 366.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.2884, allocations: 0 / 366.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.2885, allocations: 8 kB / 366.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.2886, allocations: 15.91 kB / 366.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.2886, allocations: 8 kB / 366.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002824/0.2889, allocations: 231.2 kB / 366.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2889, allocations: 0 / 366.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004892/0.2894, allocations: 68 kB / 366.9 MB, free: 14.02 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.0001549/0.2896, allocations: 99.25 kB / 367 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006593/0.2902, allocations: 302.4 kB / 367.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2902, allocations: 1.375 kB / 367.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.2905, allocations: 186.5 kB / 367.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.2908, allocations: 49.41 kB / 367.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.2926, allocations: 0.845 MB / 368.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.2928, allocations: 222.9 kB / 368.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.293, allocations: 39.27 kB / 368.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.574e-05/0.293, allocations: 32.48 kB / 368.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of SimCode: time 1.152e-06/0.293, allocations: 4 kB / 368.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of Templates: time 0.007952/0.301, allocations: 2.654 MB / 371.3 MB, free: 9.512 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] 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: 4.43754382210318]