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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.492/1.492, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 52.39 kB / 347.6 MB, free: 9.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3074, allocations: 49.17 MB / 396.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004457/0.3119, allocations: 3.08 MB / 399.9 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.3139, allocations: 1.019 MB / 400.9 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.3142, allocations: 15.16 kB / 400.9 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.3144, allocations: 95.58 kB / 401 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.3146, allocations: 97.16 kB / 401.1 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.3152, allocations: 233.5 kB / 401.3 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006693/0.3158, allocations: 0.5336 MB / 401.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.3162, allocations: 152.8 kB / 402 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.3165, allocations: 183.9 kB / 402.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.3167, allocations: 178.9 kB / 402.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.55e-05/0.3168, allocations: 36.06 kB / 402.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.317, allocations: 50.38 kB / 402.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.763e-05/0.3171, allocations: 92.17 kB / 402.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.3173, allocations: 229.1 kB / 402.8 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007822/0.3181, allocations: 0.5838 MB / 403.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3181, allocations: 1.062 kB / 403.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3181, allocations: 0 / 403.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.3181, allocations: 0 / 403.3 MB, free: 5.266 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.000922/0.319, allocations: 0.6822 MB / 404 MB, free: 4.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.319, allocations: 13.14 kB / 404 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.3191, allocations: 71.53 kB / 404.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006075/0.3197, allocations: 342.5 kB / 404.4 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.3198, allocations: 28.31 kB / 404.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.3198, allocations: 47.33 kB / 404.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008033/0.3207, allocations: 491.7 kB / 405 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.3207, allocations: 2.406 kB / 405 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.3207, allocations: 22.86 kB / 405 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.3207, allocations: 14.69 kB / 405 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.3213, allocations: 250.2 kB / 405.3 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.3234, allocations: 2.745 MB / 408 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.3238, allocations: 153.6 kB / 408.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.324, allocations: 66.22 kB / 408.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-05/0.3241, allocations: 7.219 kB / 408.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.3241, allocations: 40.03 kB / 408.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.3241, allocations: 0 / 408.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001196/0.3253, allocations: 0.5533 MB / 408.8 MB, free: 1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.3253, allocations: 54.06 kB / 408.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.3257, allocations: 342.1 kB / 409.2 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3257, allocations: 33.64 kB / 409.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.3258, allocations: 303.7 kB / 409.6 MB, free: 484 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.3259, allocations: 71.22 kB / 409.6 MB, free: 428 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.326, allocations: 70.34 kB / 409.7 MB, free: 380 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.3261, allocations: 350.1 kB / 410 MB, free: 40 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.3262, allocations: 68.94 kB / 410.1 MB, free: 16 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.3267, allocations: 210.8 kB / 410.3 MB, free: 15.79 MB / 334.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.0009413/0.3276, allocations: 439.2 kB / 410.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.3276, allocations: 1.891 kB / 410.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007286/0.3283, allocations: 364.3 kB / 411.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3284, allocations: 10.59 kB / 411.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3284, allocations: 5.688 kB / 411.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.3285, allocations: 37.7 kB / 411.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.3288, allocations: 70 kB / 411.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.3303, allocations: 1.549 MB / 412.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.3305, allocations: 11.98 kB / 412.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.3305, allocations: 18.19 kB / 412.8 MB, free: 13.77 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.0002692/0.3308, allocations: 175.5 kB / 413 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.99e-05/0.3308, allocations: 39.89 kB / 413 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.799e-05/0.3309, allocations: 38.38 kB / 413 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3309, allocations: 1.5 kB / 413 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3309, allocations: 1.438 kB / 413 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3309, allocations: 0.9375 kB / 413.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.3322, allocations: 0.6802 MB / 413.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3322, allocations: 5.531 kB / 413.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.3324, allocations: 40.58 kB / 413.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.957e-05/0.3325, allocations: 22.27 kB / 413.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.3325, allocations: 3.484 kB / 413.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.3339, allocations: 1.33 MB / 415.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3339, allocations: 0 / 415.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007203/0.3346, allocations: 371.7 kB / 415.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.3347, allocations: 29.5 kB / 415.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.3347, allocations: 11 kB / 415.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.3349, allocations: 3.094 kB / 415.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.3349, allocations: 19.84 kB / 415.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.335, allocations: 4.031 kB / 415.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003951/0.3354, allocations: 236.7 kB / 415.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3354, allocations: 0 / 415.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006374/0.336, allocations: 67.66 kB / 415.9 MB, free: 11.32 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.0002009/0.3362, allocations: 100.9 kB / 416 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000896/0.3371, allocations: 310 kB / 416.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3371, allocations: 4.906 kB / 416.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.3374, allocations: 183.8 kB / 416.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3378, allocations: 37.41 kB / 416.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.3396, allocations: 0.8578 MB / 417.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006719/0.3403, allocations: 0.8188 MB / 418.2 MB, free: 9.535 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.3404, allocations: 38.02 kB / 418.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.18e-05/0.3405, allocations: 27.03 kB / 418.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3405, allocations: 0 / 418.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of Templates: time 0.008526/0.3491, allocations: 2.959 MB / 421.2 MB, free: 8.035 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.7145886272192]