Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001694/0.001693, allocations: 105.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002061/0.002061, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 57.12 kB / 307 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1149, allocations: 50.54 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.007458/0.1224, allocations: 3.062 MB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002974/0.1254, allocations: 1.037 MB / 361.6 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.1257, allocations: 19.88 kB / 361.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.1261, allocations: 94.98 kB / 361.7 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.1264, allocations: 95.02 kB / 361.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008248/0.1273, allocations: 227.6 kB / 362 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009552/0.1283, allocations: 0.541 MB / 362.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005425/0.1288, allocations: 222.7 kB / 362.8 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.1292, allocations: 183.2 kB / 363 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.1296, allocations: 179 kB / 363.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.907e-05/0.1297, allocations: 36 kB / 363.2 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.1299, allocations: 56 kB / 363.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.1301, allocations: 91.62 kB / 363.3 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003247/0.1304, allocations: 226.7 kB / 363.6 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009127/0.1313, allocations: 0.5569 MB / 364.1 MB, free: 7.398 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.1314, allocations: 0 / 364.1 MB, free: 7.398 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.779e-06/0.1314, allocations: 7.938 kB / 364.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1314, allocations: 0 / 364.1 MB, free: 7.391 MB / 302.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.001611/0.133, allocations: 0.7405 MB / 364.9 MB, free: 6.602 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1331, allocations: 15.97 kB / 364.9 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003288/0.1334, allocations: 68.02 kB / 364.9 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008905/0.1344, allocations: 402.4 kB / 365.3 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.1344, allocations: 29 kB / 365.4 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.1345, allocations: 47.91 kB / 365.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.1358, allocations: 487.4 kB / 365.9 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.1359, allocations: 0 / 365.9 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.546e-05/0.136, allocations: 24 kB / 365.9 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.136, allocations: 8 kB / 365.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009349/0.1369, allocations: 250.1 kB / 366.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/0.141, allocations: 2.823 MB / 369 MB, free: 2.211 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/0.1418, allocations: 173.5 kB / 369.2 MB, free: 2.035 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.142, allocations: 64.84 kB / 369.2 MB, free: 1.969 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/0.1423, allocations: 89.08 kB / 369.3 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.1423, allocations: 38.5 kB / 369.3 MB, free: 1.816 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 2.344e-06/0.1424, allocations: 0 / 369.3 MB, free: 1.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002264/0.1446, allocations: 0.6212 MB / 370 MB, free: 1.141 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.1447, allocations: 55.31 kB / 370 MB, free: 1.074 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006618/0.1454, allocations: 353.6 kB / 370.4 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.1454, allocations: 25.7 kB / 370.4 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.1458, allocations: 302.9 kB / 370.7 MB, free: 396 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.568e-05/0.1459, allocations: 67.09 kB / 370.8 MB, free: 328 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.1461, allocations: 73.56 kB / 370.8 MB, free: 248 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1416/0.2877, allocations: 349.8 kB / 371.2 MB, free: 20.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.2879, allocations: 61 kB / 371.2 MB, free: 20.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.2881, allocations: 216 kB / 371.4 MB, free: 19.98 MB / 302.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.0008681/0.289, allocations: 0.5154 MB / 372 MB, free: 19.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.289, allocations: 2.875 kB / 372 MB, free: 19.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005617/0.2896, allocations: 362.2 kB / 372.3 MB, free: 19.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2896, allocations: 7.031 kB / 372.3 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.2896, allocations: 7.344 kB / 372.3 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/0.2898, allocations: 34.48 kB / 372.4 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.29, allocations: 76.39 kB / 372.4 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008925/0.2909, allocations: 1.637 MB / 374.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.2911, allocations: 13.28 kB / 374.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.2911, allocations: 17.73 kB / 374.1 MB, free: 18.11 MB / 302.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.0001629/0.2913, allocations: 175.2 kB / 374.3 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.2913, allocations: 35.45 kB / 374.3 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/0.2914, allocations: 42.42 kB / 374.3 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2914, allocations: 1.188 kB / 374.3 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2914, allocations: 1.062 kB / 374.4 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2914, allocations: 6.125 kB / 374.4 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008024/0.2922, allocations: 0.7101 MB / 375.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2923, allocations: 1.219 kB / 375.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.2924, allocations: 39.86 kB / 375.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.777e-05/0.2925, allocations: 28.16 kB / 375.1 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2925, allocations: 1.375 kB / 375.1 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006117/0.2931, allocations: 1.425 MB / 376.6 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2932, allocations: 5.375 kB / 376.6 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.2936, allocations: 364.9 kB / 376.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.2937, allocations: 107.4 kB / 377 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.2937, allocations: 10.33 kB / 377 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2938, allocations: 3.844 kB / 377 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.2939, allocations: 20.47 kB / 377.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.2939, allocations: 2.844 kB / 377.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.2941, allocations: 242.8 kB / 377.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2941, allocations: 0 / 377.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000415/0.2945, allocations: 67.88 kB / 377.4 MB, free: 15.64 MB / 302.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 8.553e-05/0.2946, allocations: 99.58 kB / 377.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004839/0.2951, allocations: 323.7 kB / 377.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2951, allocations: 1.375 kB / 377.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.2953, allocations: 179.7 kB / 378 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.2956, allocations: 50.73 kB / 378 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2969, allocations: 0.8568 MB / 378.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.2971, allocations: 0.8135 MB / 379.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.2973, allocations: 38.34 kB / 379.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.2973, allocations: 37.36 kB / 379.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2973, allocations: 0 / 379.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of Templates: time 0.006939/0.3043, allocations: 2.676 MB / 382.4 MB, free: 13.76 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches