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.001663/0.001663, allocations: 107.6 kB / 21.18 MB, free: 0.6094 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.002099/0.002099, allocations: 215 kB / 24.48 MB, free: 3.934 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.543/1.543, allocations: 207.7 MB / 235.3 MB, free: 9.812 MB / 190.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.001821/0.001821, allocations: 55.92 kB / 347.7 MB, free: 9.406 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.278, allocations: 49.15 MB / 396.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003846/0.2818, allocations: 2.818 MB / 399.6 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.2834, allocations: 0.969 MB / 400.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.2836, allocations: 18.94 kB / 400.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.2839, allocations: 95.53 kB / 400.7 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.284, allocations: 100.7 kB / 400.8 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.2846, allocations: 219.8 kB / 401 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005935/0.2852, allocations: 0.5411 MB / 401.6 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003066/0.2855, allocations: 148.1 kB / 401.7 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.2858, allocations: 177.5 kB / 401.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.286, allocations: 157.8 kB / 402.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.449e-05/0.286, allocations: 36.19 kB / 402.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.2862, allocations: 54.7 kB / 402.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.369e-05/0.2863, allocations: 91.11 kB / 402.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.2864, allocations: 173.7 kB / 402.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007137/0.2872, allocations: 0.5896 MB / 403 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.2872, allocations: 2.531 kB / 403 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2872, allocations: 0 / 403 MB, free: 5.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.2872, allocations: 0 / 403 MB, free: 5.574 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.0009869/0.2882, allocations: 0.6738 MB / 403.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2882, allocations: 13.92 kB / 403.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.251e-05/0.2883, allocations: 64.38 kB / 403.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006156/0.2889, allocations: 351.3 kB / 404.1 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.289, allocations: 34.31 kB / 404.1 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.289, allocations: 42.42 kB / 404.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007278/0.2897, allocations: 491.1 kB / 404.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.2898, allocations: 5.125 kB / 404.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.2898, allocations: 18.61 kB / 404.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.2898, allocations: 15.52 kB / 404.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/0.2903, allocations: 245.4 kB / 404.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.292, allocations: 2.624 MB / 407.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.2924, allocations: 151.3 kB / 407.7 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.2925, allocations: 62.05 kB / 407.8 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.958e-05/0.2926, allocations: 7.328 kB / 407.8 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.2926, allocations: 43.81 kB / 407.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.2926, allocations: 0 / 407.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001112/0.2937, allocations: 0.5527 MB / 408.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.2938, allocations: 58.31 kB / 408.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.2941, allocations: 350.9 kB / 408.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.2941, allocations: 30.83 kB / 408.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.2943, allocations: 304.1 kB / 409.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.2944, allocations: 74.08 kB / 409.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.53e-05/0.2944, allocations: 70.7 kB / 409.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.2945, allocations: 350.7 kB / 409.6 MB, free: 432 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.2947, allocations: 65.19 kB / 409.6 MB, free: 412 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.2948, allocations: 210.5 kB / 409.8 MB, free: 196 kB / 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.0009214/0.2958, allocations: 449 kB / 410.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2958, allocations: 1.375 kB / 410.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006066/0.2964, allocations: 363.3 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.2964, allocations: 8.125 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2964, allocations: 4.5 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000141/0.2965, allocations: 33.61 kB / 410.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.2968, allocations: 80.02 kB / 410.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.2982, allocations: 1.514 MB / 412.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.2983, allocations: 16.69 kB / 412.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.2984, allocations: 14.58 kB / 412.3 MB, free: 14.2 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.0002171/0.2986, allocations: 175.2 kB / 412.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.2986, allocations: 35.98 kB / 412.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.309e-05/0.2987, allocations: 42.66 kB / 412.5 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2987, allocations: 2.938 kB / 412.5 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2987, allocations: 0 / 412.5 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2987, allocations: 1.469 kB / 412.5 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009648/0.2997, allocations: 0.5676 MB / 413.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2997, allocations: 0 / 413.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.2999, allocations: 31.66 kB / 413.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.697e-05/0.2999, allocations: 25.41 kB / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.3, allocations: 6.031 kB / 413.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.3011, allocations: 1.301 MB / 414.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3011, allocations: 9.5 kB / 414.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.3017, allocations: 372.3 kB / 414.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.3017, allocations: 30.06 kB / 414.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.3018, allocations: 6.594 kB / 414.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.3019, allocations: 2.469 kB / 414.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.3019, allocations: 16.16 kB / 414.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.302, allocations: 4.062 kB / 414.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002622/0.3022, allocations: 232.2 kB / 415.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3022, allocations: 0 / 415.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004409/0.3027, allocations: 76.09 kB / 415.2 MB, free: 11.89 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.0001193/0.3028, allocations: 97.05 kB / 415.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007387/0.3035, allocations: 310.8 kB / 415.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3035, allocations: 4 kB / 415.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.3038, allocations: 179.5 kB / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.3042, allocations: 38.56 kB / 415.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.306, allocations: 0.8605 MB / 416.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.3063, allocations: 220.9 kB / 416.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.3065, allocations: 37.11 kB / 416.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.3065, allocations: 30.3 kB / 417 MB, free: 10.75 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3065, allocations: 0 / 417 MB, free: 10.75 MB / 334.1 MB Notification: Performance of Templates: time 0.008042/0.3146, allocations: 3.158 MB / 420.1 MB, free: 9.109 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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.805695941671729]