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.0008322/0.0008323, allocations: 98.45 kB / 17.01 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009362/0.0009363, allocations: 192.2 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001972/0.0001973, allocations: 8 kB / 307.1 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08425/0.08446, allocations: 51.52 MB / 358.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002759/0.08725, allocations: 2.588 MB / 361.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.08873, allocations: 0.979 MB / 362.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.08892, allocations: 15.88 kB / 362.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.08911, allocations: 63.42 kB / 362.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.08927, allocations: 83.25 kB / 362.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.08966, allocations: 147.8 kB / 362.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.09012, allocations: 486.1 kB / 363 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.09041, allocations: 170 kB / 363.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.09062, allocations: 143.3 kB / 363.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.0908, allocations: 139.1 kB / 363.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.09084, allocations: 16 kB / 363.4 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.09095, allocations: 24 kB / 363.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.09102, allocations: 67.69 kB / 363.5 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.005e-05/0.0911, allocations: 109.4 kB / 363.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.09148, allocations: 407.2 kB / 364 MB, free: 7.996 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.09149, allocations: 3.938 kB / 364 MB, free: 7.992 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.0915, allocations: 0 / 364 MB, free: 7.992 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.09151, allocations: 0 / 364 MB, free: 7.992 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.0008/0.09232, allocations: 0.6586 MB / 364.7 MB, free: 7.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.09237, allocations: 8.031 kB / 364.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.09255, allocations: 67.33 kB / 364.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.09302, allocations: 390.7 kB / 365.1 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.09305, allocations: 29 kB / 365.2 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.939e-05/0.09313, allocations: 40 kB / 365.2 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007017/0.09383, allocations: 495.3 kB / 365.7 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.09386, allocations: 0 / 365.7 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.0939, allocations: 16 kB / 365.7 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.09392, allocations: 12 kB / 365.7 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.0944, allocations: 254.2 kB / 366 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/0.09665, allocations: 2.83 MB / 368.8 MB, free: 2.914 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.09704, allocations: 158.7 kB / 369 MB, free: 2.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.09719, allocations: 76.83 kB / 369 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.09734, allocations: 89.09 kB / 369.1 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.09738, allocations: 30.56 kB / 369.1 MB, free: 2.527 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.09739, allocations: 4 kB / 369.1 MB, free: 2.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001219/0.09862, allocations: 0.6325 MB / 369.8 MB, free: 1.836 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.09866, allocations: 55.41 kB / 369.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.09899, allocations: 345.5 kB / 370.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.09902, allocations: 33.7 kB / 370.2 MB, free: 1.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.0992, allocations: 302.9 kB / 370.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.09925, allocations: 63.09 kB / 370.6 MB, free: 1.016 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.09927, allocations: 12 kB / 370.6 MB, free: 1.004 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.0994, allocations: 346.8 kB / 370.9 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.09953, allocations: 71.92 kB / 371 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.09975, allocations: 215.6 kB / 371.2 MB, free: 312 kB / 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.0005731/0.1003, allocations: 289.1 kB / 371.5 MB, free: 8 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1003, allocations: 3.938 kB / 371.5 MB, free: 4 kB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.155/0.2554, allocations: 351.9 kB / 371.8 MB, free: 18.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.2554, allocations: 8.438 kB / 371.8 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.2555, allocations: 4.938 kB / 371.8 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/0.2556, allocations: 36.05 kB / 371.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.2559, allocations: 75.84 kB / 371.9 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009847/0.2569, allocations: 1.464 MB / 373.4 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.2571, allocations: 23.62 kB / 373.4 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.2571, allocations: 18.89 kB / 373.4 MB, free: 17.53 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.0002054/0.2573, allocations: 171.5 kB / 373.6 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.2574, allocations: 38.2 kB / 373.7 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.408e-05/0.2575, allocations: 38.83 kB / 373.7 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2575, allocations: 3.25 kB / 373.7 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2575, allocations: 1.938 kB / 373.7 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2575, allocations: 4.328 kB / 373.7 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000891/0.2584, allocations: 0.7145 MB / 374.4 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2584, allocations: 1.562 kB / 374.4 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.2586, allocations: 39.61 kB / 374.5 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.239e-05/0.2587, allocations: 22.59 kB / 374.5 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.2587, allocations: 10.72 kB / 374.5 MB, free: 17.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006589/0.2594, allocations: 1.324 MB / 375.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2594, allocations: 5.828 kB / 375.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.2599, allocations: 368.3 kB / 376.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.2599, allocations: 102.1 kB / 376.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.26, allocations: 8.516 kB / 376.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.2601, allocations: 17.23 kB / 376.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.2601, allocations: 12.73 kB / 376.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.2602, allocations: 5 kB / 376.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002486/0.2604, allocations: 237.2 kB / 376.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2604, allocations: 0.7188 kB / 376.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004637/0.2609, allocations: 67.47 kB / 376.6 MB, free: 15.4 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.0001099/0.261, allocations: 100.9 kB / 376.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005836/0.2616, allocations: 316.9 kB / 377 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2616, allocations: 1.125 kB / 377 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.2618, allocations: 188.2 kB / 377.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.2622, allocations: 44.17 kB / 377.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.2637, allocations: 1.042 MB / 378.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.264, allocations: 0.8171 MB / 379.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.2642, allocations: 41.83 kB / 379.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.2643, allocations: 33.5 kB / 379.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2643, allocations: 1.188 kB / 379.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of Templates: time 0.006797/0.2711, allocations: 2.472 MB / 381.7 MB, free: 13.49 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","/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