Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001416/0.001416, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001558/0.001558, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.554/1.554, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.507e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004874/0.004899, allocations: 2.845 MB / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.006973, allocations: 0.9942 MB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.007234, allocations: 15.88 kB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.007594, allocations: 95.05 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.007876, allocations: 98.94 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009498/0.008826, allocations: 235.5 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008647/0.00969, allocations: 0.5641 MB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003499/0.01004, allocations: 143.2 kB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004947/0.01054, allocations: 271.3 kB / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.01077, allocations: 119.5 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.325e-05/0.01087, allocations: 40 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.01102, allocations: 51.98 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.72e-05/0.01112, allocations: 95.53 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.0113, allocations: 143.6 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008484/0.01215, allocations: 0.5722 MB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.01215, allocations: 7.938 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01215, allocations: 0 / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.01216, allocations: 0 / 278.6 MB, free: 11.55 MB / 266.7 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.001273/0.01344, allocations: 0.6764 MB / 279.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.01348, allocations: 8.031 kB / 279.2 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/0.01377, allocations: 108.3 kB / 279.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007247/0.0145, allocations: 375.5 kB / 279.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.01453, allocations: 29 kB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.533e-05/0.01463, allocations: 47.94 kB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008968/0.01553, allocations: 495.2 kB / 280.3 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.01555, allocations: 4 kB / 280.3 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.0156, allocations: 20 kB / 280.3 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.01562, allocations: 12 kB / 280.3 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005511/0.01617, allocations: 246.2 kB / 280.5 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.01899, allocations: 2.638 MB / 283.2 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.01947, allocations: 154.7 kB / 283.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.01964, allocations: 60.83 kB / 283.4 MB, free: 6.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.932e-05/0.01974, allocations: 15.94 kB / 283.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.01977, allocations: 30.56 kB / 283.4 MB, free: 6.383 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.01977, allocations: 0 / 283.4 MB, free: 6.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001457/0.02123, allocations: 0.5556 MB / 284 MB, free: 5.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.02128, allocations: 59.41 kB / 284.1 MB, free: 5.719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004481/0.02173, allocations: 361.5 kB / 284.4 MB, free: 5.359 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.02176, allocations: 25.7 kB / 284.4 MB, free: 5.328 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.02204, allocations: 307.7 kB / 284.7 MB, free: 5.023 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.02211, allocations: 67.48 kB / 284.8 MB, free: 4.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.02222, allocations: 69.64 kB / 284.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.02245, allocations: 346.8 kB / 285.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.02261, allocations: 63.97 kB / 285.3 MB, free: 4.473 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.02291, allocations: 211.6 kB / 285.5 MB, free: 4.195 MB / 266.7 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.001035/0.02395, allocations: 454.4 kB / 285.9 MB, free: 3.684 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.02395, allocations: 4 kB / 285.9 MB, free: 3.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006853/0.02464, allocations: 378 kB / 286.3 MB, free: 3.301 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.02466, allocations: 11.94 kB / 286.3 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.02467, allocations: 4 kB / 286.3 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.02485, allocations: 36.84 kB / 286.3 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.02511, allocations: 75.91 kB / 286.4 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.02675, allocations: 1.509 MB / 287.9 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.02691, allocations: 16 kB / 287.9 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.02693, allocations: 12 kB / 288 MB, free: 1.531 MB / 266.7 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.0002268/0.02716, allocations: 172.7 kB / 288.1 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.02724, allocations: 47.69 kB / 288.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.878e-05/0.02732, allocations: 39.53 kB / 288.2 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.02732, allocations: 0 / 288.2 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.02733, allocations: 3.938 kB / 288.2 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.02733, allocations: 8.062 kB / 288.2 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.02835, allocations: 0.5545 MB / 288.8 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.02836, allocations: 4 kB / 288.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.02855, allocations: 35.97 kB / 288.8 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-05/0.02865, allocations: 28.78 kB / 288.8 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.02866, allocations: 4 kB / 288.8 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.02994, allocations: 1.304 MB / 290.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.02995, allocations: 11.91 kB / 290.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006202/0.03057, allocations: 362.7 kB / 290.5 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.03062, allocations: 31.8 kB / 290.5 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.03065, allocations: 7.938 kB / 290.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.03077, allocations: 4 kB / 290.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.03082, allocations: 19.97 kB / 290.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.03083, allocations: 4 kB / 290.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002818/0.03112, allocations: 231.2 kB / 290.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03112, allocations: 4.062 kB / 290.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004718/0.03159, allocations: 68 kB / 290.9 MB, free: 14.43 MB / 282.7 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.0001488/0.03174, allocations: 99.25 kB / 291 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000656/0.03239, allocations: 318.2 kB / 291.3 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.03239, allocations: 0 / 291.3 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.03267, allocations: 182.5 kB / 291.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.03302, allocations: 34.12 kB / 291.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.0346, allocations: 0.7905 MB / 292.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.03487, allocations: 211.1 kB / 292.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.035, allocations: 43.27 kB / 292.5 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.03508, allocations: 32.5 kB / 292.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03508, allocations: 0 / 292.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of Templates: time 0.0079/0.04298, allocations: 2.697 MB / 295.3 MB, free: 10.01 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.547303823987022]