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.0009042/0.0009042, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001133/0.002038, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007073/0.0007073, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009041/0.001611, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.015/1.015, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1962/1.211, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 222 MB, free: 88 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.712e-05, allocations: 2.312 kB / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003957/0.003974, allocations: 3.023 MB / 225 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.00574, allocations: 1.026 MB / 226 MB, free: 12 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/0.005955, allocations: 23.81 kB / 226 MB, free: 11.98 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.006131, allocations: 95.05 kB / 226.1 MB, free: 11.88 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.006289, allocations: 106.8 kB / 226.2 MB, free: 11.78 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.006722, allocations: 215.6 kB / 226.4 MB, free: 11.57 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.007245, allocations: 0.5524 MB / 227 MB, free: 11.01 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.007523, allocations: 145.2 kB / 227.1 MB, free: 10.87 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.007915, allocations: 291.4 kB / 227.4 MB, free: 10.59 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.008092, allocations: 123.5 kB / 227.5 MB, free: 10.46 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.008136, allocations: 36 kB / 227.6 MB, free: 10.43 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.008267, allocations: 51.94 kB / 227.6 MB, free: 10.38 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.008322, allocations: 67.69 kB / 227.7 MB, free: 10.31 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.479e-05/0.008416, allocations: 119.7 kB / 227.8 MB, free: 10.2 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.008789, allocations: 354.5 kB / 228.2 MB, free: 9.848 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.008801, allocations: 0 / 228.2 MB, free: 9.848 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.008802, allocations: 0 / 228.2 MB, free: 9.848 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.008814, allocations: 0 / 228.2 MB, free: 9.848 MB / 234.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.0007976/0.009611, allocations: 0.745 MB / 228.9 MB, free: 9.078 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.00965, allocations: 12.03 kB / 228.9 MB, free: 9.066 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.205e-05/0.009732, allocations: 68.64 kB / 229 MB, free: 9 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.01015, allocations: 320.8 kB / 229.3 MB, free: 8.664 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.01017, allocations: 29 kB / 229.3 MB, free: 8.633 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.01024, allocations: 51.94 kB / 229.4 MB, free: 8.582 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.01076, allocations: 493.1 kB / 229.9 MB, free: 8 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.01078, allocations: 7.938 kB / 229.9 MB, free: 7.992 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.01081, allocations: 16 kB / 229.9 MB, free: 7.977 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.01082, allocations: 12 kB / 229.9 MB, free: 7.965 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.01102, allocations: 146.8 kB / 230 MB, free: 7.82 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.01261, allocations: 2.437 MB / 232.5 MB, free: 5.281 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.01291, allocations: 94.47 kB / 232.6 MB, free: 5.18 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.01296, allocations: 41.05 kB / 232.6 MB, free: 5.137 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-05/0.01305, allocations: 15.94 kB / 232.6 MB, free: 5.121 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.01308, allocations: 34.55 kB / 232.7 MB, free: 5.078 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.01308, allocations: 0 / 232.7 MB, free: 5.078 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008628/0.01394, allocations: 375.5 kB / 233 MB, free: 4.676 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.01398, allocations: 59.34 kB / 233.1 MB, free: 4.605 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.01419, allocations: 339.1 kB / 233.4 MB, free: 4.262 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.0142, allocations: 33.7 kB / 233.4 MB, free: 4.223 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.01433, allocations: 256.4 kB / 233.7 MB, free: 3.969 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/0.01439, allocations: 75.36 kB / 233.8 MB, free: 3.895 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/0.01446, allocations: 69.58 kB / 233.8 MB, free: 3.82 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.01458, allocations: 354.7 kB / 234.2 MB, free: 3.465 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.429e-05/0.01461, allocations: 27.77 kB / 234.2 MB, free: 3.438 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.01473, allocations: 175.7 kB / 234.4 MB, free: 3.195 MB / 234.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.0003334/0.01507, allocations: 311 kB / 234.7 MB, free: 2.82 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01507, allocations: 0 / 234.7 MB, free: 2.82 MB / 234.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002678/0.01534, allocations: 245.8 kB / 234.9 MB, free: 2.57 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.01536, allocations: 10.81 kB / 234.9 MB, free: 2.562 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.01537, allocations: 4 kB / 234.9 MB, free: 2.559 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001349/0.0155, allocations: 29.53 kB / 235 MB, free: 2.527 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.01568, allocations: 100.3 kB / 235.1 MB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009023/0.01658, allocations: 1.372 MB / 236.4 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.324e-05/0.01668, allocations: 8 kB / 236.4 MB, free: 0.957 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.01669, allocations: 16 kB / 236.5 MB, free: 0.9414 MB / 234.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.0001109/0.0168, allocations: 137.6 kB / 236.6 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.01684, allocations: 32 kB / 236.6 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.01688, allocations: 39.53 kB / 236.7 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.01688, allocations: 0 / 236.7 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.01689, allocations: 0 / 236.7 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.01689, allocations: 7.984 kB / 236.7 MB, free: 0.7188 MB / 234.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.000432/0.01733, allocations: 392.2 kB / 237.1 MB, free: 312 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01733, allocations: 0 / 237.1 MB, free: 312 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.01744, allocations: 43.91 kB / 237.1 MB, free: 268 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.01747, allocations: 31.7 kB / 237.1 MB, free: 236 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.298e-05/0.01753, allocations: 32.86 kB / 237.2 MB, free: 200 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.01754, allocations: 0 / 237.2 MB, free: 200 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005881/0.01812, allocations: 1.175 MB / 238.3 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.01813, allocations: 7.984 kB / 238.3 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.01836, allocations: 245.4 kB / 238.6 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.01837, allocations: 12 kB / 238.6 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.172e-05/0.01843, allocations: 0 / 238.6 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.01846, allocations: 27.94 kB / 238.6 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.01847, allocations: 3.938 kB / 238.6 MB, free: 14.62 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.956e-05/0.01857, allocations: 132.7 kB / 238.8 MB, free: 14.49 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01857, allocations: 0 / 238.8 MB, free: 14.49 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.01883, allocations: 68 kB / 238.8 MB, free: 14.43 MB / 250.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.0001077/0.01893, allocations: 80.36 kB / 238.9 MB, free: 14.34 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.01929, allocations: 272.4 kB / 239.2 MB, free: 14.06 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.0193, allocations: 4 kB / 239.2 MB, free: 14.05 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.01942, allocations: 163.4 kB / 239.3 MB, free: 13.88 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.01973, allocations: 282.4 kB / 239.6 MB, free: 13.57 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004292/0.02402, allocations: 0.7878 MB / 240.4 MB, free: 12.75 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.304e-05/0.02411, allocations: 112.6 kB / 240.5 MB, free: 12.62 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.02425, allocations: 43.27 kB / 240.5 MB, free: 12.58 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.02438, allocations: 95.36 kB / 240.6 MB, free: 12.48 MB / 250.7 MB Notification: Performance of SimCode: time 1.432e-06/0.02438, allocations: 0 / 240.6 MB, free: 12.48 MB / 250.7 MB Notification: Performance of Templates: time 0.006869/0.03125, allocations: 2.931 MB / 243.6 MB, free: 9.582 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7980425348505378]