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.0009637/0.0009639, allocations: 90.08 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001396, allocations: 206.1 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.7 MB / 247.5 MB, free: 9.711 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002202/0.0002204, allocations: 8 kB / 308.4 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09117/0.09141, allocations: 51.52 MB / 359.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00285/0.09429, allocations: 2.715 MB / 362.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.09584, allocations: 1.006 MB / 363.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.09604, allocations: 11.94 kB / 363.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.09623, allocations: 75.36 kB / 363.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.09641, allocations: 79.28 kB / 363.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.09687, allocations: 203.8 kB / 364 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.09738, allocations: 0.5097 MB / 364.5 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.09769, allocations: 198.2 kB / 364.7 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.09793, allocations: 139.3 kB / 364.8 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.09811, allocations: 155 kB / 365 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.09815, allocations: 16 kB / 365 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.09826, allocations: 28 kB / 365 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.09832, allocations: 67.64 kB / 365.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.09848, allocations: 224.3 kB / 365.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.09884, allocations: 407.2 kB / 365.7 MB, free: 7.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.09885, allocations: 0 / 365.7 MB, free: 7.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.09886, allocations: 4 kB / 365.7 MB, free: 7.266 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.09887, allocations: 0 / 365.7 MB, free: 7.266 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.0007869/0.09966, allocations: 0.6549 MB / 366.4 MB, free: 6.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.09971, allocations: 8.031 kB / 366.4 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.09989, allocations: 76.03 kB / 366.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.1003, allocations: 402.3 kB / 366.8 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.1004, allocations: 29 kB / 366.9 MB, free: 6.023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.1004, allocations: 40 kB / 366.9 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006837/0.1011, allocations: 491.4 kB / 367.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.1012, allocations: 11.84 kB / 367.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.1012, allocations: 16 kB / 367.4 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.1012, allocations: 16 kB / 367.4 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.1017, allocations: 254.1 kB / 367.7 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.104, allocations: 2.827 MB / 370.5 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.1045, allocations: 170.7 kB / 370.7 MB, free: 1.984 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1047, allocations: 76.77 kB / 370.7 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.1048, allocations: 85.11 kB / 370.8 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1049, allocations: 34.5 kB / 370.9 MB, free: 1.762 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.913e-06/0.1049, allocations: 0 / 370.9 MB, free: 1.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001326/0.1062, allocations: 0.6317 MB / 371.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1063, allocations: 55.41 kB / 371.5 MB, free: 1.012 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.1066, allocations: 345.5 kB / 371.9 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.1067, allocations: 29.7 kB / 371.9 MB, free: 0.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.1069, allocations: 310.9 kB / 372.2 MB, free: 324 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.1069, allocations: 67.08 kB / 372.3 MB, free: 256 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.107, allocations: 37.7 kB / 372.3 MB, free: 212 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1638/0.2708, allocations: 346.4 kB / 372.7 MB, free: 19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.2711, allocations: 66.45 kB / 372.7 MB, free: 19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.2713, allocations: 215.1 kB / 372.9 MB, free: 18.81 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.000967/0.2723, allocations: 0.5226 MB / 373.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2723, allocations: 1.719 kB / 373.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006472/0.273, allocations: 368.8 kB / 373.8 MB, free: 18.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.273, allocations: 8.719 kB / 373.8 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.273, allocations: 5.469 kB / 373.8 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.2732, allocations: 34.84 kB / 373.9 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.2734, allocations: 80.25 kB / 373.9 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009536/0.2744, allocations: 1.461 MB / 375.4 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.2746, allocations: 22.95 kB / 375.4 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.2746, allocations: 16.78 kB / 375.4 MB, free: 17.1 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: 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.0001913/0.2748, allocations: 178.9 kB / 375.6 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.2749, allocations: 41.78 kB / 375.7 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.454e-05/0.2749, allocations: 35.97 kB / 375.7 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.275, allocations: 3.25 kB / 375.7 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.275, allocations: 0.875 kB / 375.7 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.275, allocations: 2.156 kB / 375.7 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009432/0.2759, allocations: 0.7086 MB / 376.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.2759, allocations: 7.094 kB / 376.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.2761, allocations: 39.11 kB / 376.5 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.949e-05/0.2762, allocations: 26.66 kB / 376.5 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.2762, allocations: 8.062 kB / 376.5 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000735/0.277, allocations: 1.327 MB / 377.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.277, allocations: 0 / 377.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.2775, allocations: 372.7 kB / 378.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.2776, allocations: 110.5 kB / 378.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.2776, allocations: 7.719 kB / 378.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.2778, allocations: 13.17 kB / 378.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.2778, allocations: 14.92 kB / 378.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.2778, allocations: 4.859 kB / 378.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.2781, allocations: 233.3 kB / 378.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2781, allocations: 0 / 378.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000474/0.2786, allocations: 66.75 kB / 378.6 MB, free: 14.97 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 0.0001085/0.2787, allocations: 108.4 kB / 378.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005825/0.2793, allocations: 315.4 kB / 379 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2793, allocations: 4.062 kB / 379 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.2795, allocations: 182.7 kB / 379.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.2799, allocations: 42.62 kB / 379.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.2812, allocations: 1.135 MB / 380.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.2814, allocations: 0.8172 MB / 381.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.2815, allocations: 32.39 kB / 381.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2815, allocations: 0 / 381.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of Templates: time 0.009433/0.291, allocations: 6.321 MB / 387.6 MB, free: 11.77 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches