Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001896/0.001896, allocations: 95.86 kB / 20.96 MB, free: 3.457 MB / 18.57 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.001876/0.001876, allocations: 149.1 kB / 24.26 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 173.3 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 267.3 MB, free: 6.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.359e-05, allocations: 6.25 kB / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004783/0.004817, allocations: 2.969 MB / 270.3 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.006738, allocations: 0.9551 MB / 271.2 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.00691, allocations: 15.88 kB / 271.2 MB, free: 2.805 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.007169, allocations: 99.03 kB / 271.3 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.007382, allocations: 98.95 kB / 271.4 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.007899, allocations: 223.5 kB / 271.6 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007393/0.008639, allocations: 0.5602 MB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.008941, allocations: 143.2 kB / 272.3 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003987/0.00934, allocations: 255.5 kB / 272.6 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.009556, allocations: 123.5 kB / 272.7 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.874e-05/0.009625, allocations: 43.92 kB / 272.8 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.009751, allocations: 51.98 kB / 272.8 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.965e-05/0.009841, allocations: 83.62 kB / 272.9 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.01001, allocations: 139.6 kB / 273 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007462/0.01075, allocations: 0.5799 MB / 273.6 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.01076, allocations: 4 kB / 273.6 MB, free: 420 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.01076, allocations: 0 / 273.6 MB, free: 420 kB / 250.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.01077, allocations: 0 / 273.6 MB, free: 420 kB / 250.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.001228/0.012, allocations: 0.8073 MB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.01204, allocations: 8.031 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.0122, allocations: 104.2 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.01284, allocations: 386.2 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.01287, allocations: 29 kB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.01294, allocations: 44 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008951/0.01384, allocations: 0.5551 MB / 275.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.01386, allocations: 3.984 kB / 275.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.0139, allocations: 24 kB / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.01391, allocations: 12 kB / 275.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005367/0.01445, allocations: 234.2 kB / 275.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003426/0.01788, allocations: 3.818 MB / 279.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.01836, allocations: 171 kB / 279.8 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.01849, allocations: 63.67 kB / 279.8 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.113e-05/0.01858, allocations: 11.98 kB / 279.9 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.01862, allocations: 41.39 kB / 279.9 MB, free: 9.762 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.01862, allocations: 0 / 279.9 MB, free: 9.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001347/0.01997, allocations: 0.5652 MB / 280.5 MB, free: 9.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.02002, allocations: 55.41 kB / 280.5 MB, free: 9.094 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/0.02056, allocations: 490.5 kB / 281 MB, free: 8.602 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.02058, allocations: 25.7 kB / 281 MB, free: 8.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/0.02091, allocations: 370.5 kB / 281.4 MB, free: 8.199 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.053e-05/0.021, allocations: 83.31 kB / 281.5 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.02112, allocations: 79.31 kB / 281.5 MB, free: 8.031 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003157/0.02144, allocations: 0.5391 MB / 282.1 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.02158, allocations: 63.97 kB / 282.1 MB, free: 7.418 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.02194, allocations: 292.5 kB / 282.4 MB, free: 7.035 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.001051/0.02299, allocations: 0.514 MB / 282.9 MB, free: 6.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.023, allocations: 4 kB / 282.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006574/0.02366, allocations: 373.1 kB / 283.3 MB, free: 6.051 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.02368, allocations: 15.88 kB / 283.3 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.02369, allocations: 8.062 kB / 283.3 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.02387, allocations: 39.67 kB / 283.4 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.02413, allocations: 71.91 kB / 283.4 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.02603, allocations: 2.122 MB / 285.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.02618, allocations: 11.98 kB / 285.6 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.02621, allocations: 20 kB / 285.6 MB, free: 3.641 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.0002477/0.02646, allocations: 212.5 kB / 285.8 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-05/0.02653, allocations: 47.72 kB / 285.8 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.02661, allocations: 31.53 kB / 285.9 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.02661, allocations: 0 / 285.9 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.02662, allocations: 11.92 kB / 285.9 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.02662, allocations: 0 / 285.9 MB, free: 3.336 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.02789, allocations: 0.6959 MB / 286.6 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.0279, allocations: 4.031 kB / 286.6 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.02808, allocations: 31.98 kB / 286.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/0.02818, allocations: 27.67 kB / 286.6 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.0282, allocations: 15.94 kB / 286.7 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.02975, allocations: 1.83 MB / 288.5 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.02976, allocations: 7.875 kB / 288.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.03037, allocations: 415.5 kB / 288.9 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.03042, allocations: 31.8 kB / 288.9 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.03045, allocations: 3.938 kB / 288.9 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.03056, allocations: 8 kB / 288.9 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.03062, allocations: 15.91 kB / 289 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.03063, allocations: 8 kB / 289 MB, free: 44 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003876/0.03102, allocations: 299.1 kB / 289.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03102, allocations: 3.938 kB / 289.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000466/0.03149, allocations: 68 kB / 289.3 MB, free: 15.68 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.0001397/0.03162, allocations: 107.2 kB / 289.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000696/0.03232, allocations: 388.9 kB / 289.8 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.03232, allocations: 1.375 kB / 289.8 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.03262, allocations: 245.5 kB / 290.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.03299, allocations: 45.48 kB / 290.1 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.03448, allocations: 0.7988 MB / 290.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.03472, allocations: 211.2 kB / 291.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.03484, allocations: 39.27 kB / 291.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.03492, allocations: 32.48 kB / 291.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.03492, allocations: 0 / 291.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of Templates: time 0.008526/0.04344, allocations: 2.717 MB / 293.9 MB, free: 11.08 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.526962132076733]