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.001148/0.001148, allocations: 100.8 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001544/0.001544, allocations: 202.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002298/0.00023, allocations: 4 kB / 306.6 MB, free: 1.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1064, allocations: 51.49 MB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002914/0.1093, allocations: 2.498 MB / 360.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.111, allocations: 0.9792 MB / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004279/0.1114, allocations: 11.88 kB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.1116, allocations: 39.62 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.1121, allocations: 119.6 kB / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.1127, allocations: 143.8 kB / 361.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006937/0.1134, allocations: 371.2 kB / 362.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/0.1137, allocations: 158 kB / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.1139, allocations: 135.4 kB / 362.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.1141, allocations: 139.1 kB / 362.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.1142, allocations: 15.94 kB / 362.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.1143, allocations: 28 kB / 362.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.1143, allocations: 63.64 kB / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.313e-05/0.1144, allocations: 109.5 kB / 362.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.1148, allocations: 399.2 kB / 363.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1148, allocations: 0 / 363.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1148, allocations: 0 / 363.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.1148, allocations: 0 / 363.2 MB, free: 8.723 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.001023/0.1159, allocations: 0.6664 MB / 363.9 MB, free: 8.008 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1159, allocations: 12.03 kB / 363.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.1162, allocations: 67.33 kB / 364 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.1167, allocations: 394.6 kB / 364.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.1168, allocations: 29 kB / 364.4 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.1168, allocations: 40 kB / 364.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/0.1175, allocations: 487.4 kB / 364.9 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.1176, allocations: 7.938 kB / 364.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.1176, allocations: 16 kB / 364.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.1176, allocations: 12 kB / 364.9 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004533/0.1181, allocations: 250.2 kB / 365.2 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.1203, allocations: 2.823 MB / 368 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.1207, allocations: 166.6 kB / 368.2 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.1208, allocations: 89.08 kB / 368.3 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.1209, allocations: 34.56 kB / 368.3 MB, free: 3.316 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 3.036e-06/0.1209, allocations: 0 / 368.3 MB, free: 3.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001215/0.1221, allocations: 0.6361 MB / 368.9 MB, free: 2.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.1221, allocations: 55.41 kB / 369 MB, free: 2.559 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.1225, allocations: 341.5 kB / 369.3 MB, free: 2.215 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1225, allocations: 33.7 kB / 369.3 MB, free: 2.176 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.1227, allocations: 295.1 kB / 369.6 MB, free: 1.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.1227, allocations: 63.05 kB / 369.7 MB, free: 1.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.1227, allocations: 12 kB / 369.7 MB, free: 1.809 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1229, allocations: 346.8 kB / 370 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.123, allocations: 79.91 kB / 370.1 MB, free: 1.383 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.1232, allocations: 207.8 kB / 370.3 MB, free: 1.109 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: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006256/0.1239, allocations: 282.3 kB / 370.6 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1239, allocations: 0 / 370.6 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005555/0.1245, allocations: 364.5 kB / 371 MB, free: 464 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1245, allocations: 8 kB / 371 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1245, allocations: 4 kB / 371 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.1246, allocations: 40.84 kB / 371 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.1249, allocations: 71.84 kB / 371.1 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1915/0.3165, allocations: 1.465 MB / 372.5 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.3168, allocations: 25.38 kB / 372.6 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.3169, allocations: 17.88 kB / 372.6 MB, free: 17.93 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 sytem: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.3171, allocations: 172 kB / 372.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.3171, allocations: 33.53 kB / 372.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.417e-05/0.3172, allocations: 43.08 kB / 372.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3172, allocations: 10.23 kB / 372.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3172, allocations: 0 / 372.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3172, allocations: 1.5 kB / 372.8 MB, free: 17.81 MB / 302.1 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.0009101/0.3181, allocations: 0.7612 MB / 373.6 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3182, allocations: 7.734 kB / 373.6 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.3183, allocations: 35.48 kB / 373.6 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.654e-05/0.3184, allocations: 25.44 kB / 373.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.3185, allocations: 7.297 kB / 373.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006248/0.3191, allocations: 1.33 MB / 375 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3191, allocations: 7.734 kB / 375 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.3196, allocations: 378.9 kB / 375.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.3197, allocations: 108.8 kB / 375.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.3197, allocations: 7.172 kB / 375.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.3198, allocations: 18.03 kB / 375.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.3199, allocations: 17.7 kB / 375.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.3199, allocations: 4.688 kB / 375.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002721/0.3202, allocations: 232.2 kB / 375.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3202, allocations: 0 / 375.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000465/0.3207, allocations: 67.88 kB / 375.8 MB, free: 15.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001149/0.3208, allocations: 105 kB / 375.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.3214, allocations: 313.2 kB / 376.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3214, allocations: 0.875 kB / 376.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.3216, allocations: 184.6 kB / 376.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.3219, allocations: 35.91 kB / 376.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.3234, allocations: 1.041 MB / 377.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.3237, allocations: 0.8234 MB / 378.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.3239, allocations: 38.17 kB / 378.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.173e-05/0.324, allocations: 36.11 kB / 378.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.324, allocations: 0 / 378.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Templates: time 0.006495/0.3305, allocations: 2.468 MB / 380.9 MB, free: 13.9 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.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches