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.001278/0.001278, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001213, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 60.08 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2363, allocations: 50.53 MB / 409.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003703/0.2401, allocations: 3.063 MB / 412.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2415, allocations: 1.037 MB / 413.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.2417, allocations: 11.94 kB / 413.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.2419, allocations: 95.05 kB / 413.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.2421, allocations: 99.02 kB / 413.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.2426, allocations: 227.6 kB / 413.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004868/0.2431, allocations: 0.5449 MB / 414.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.2434, allocations: 230.6 kB / 414.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.2437, allocations: 183.2 kB / 414.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.2439, allocations: 179 kB / 414.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.2439, allocations: 36 kB / 414.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.244, allocations: 52 kB / 415 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.648e-05/0.2441, allocations: 99.56 kB / 415.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.2443, allocations: 226.7 kB / 415.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.2448, allocations: 0.581 MB / 415.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2448, allocations: 0 / 415.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2448, allocations: 0 / 415.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.2448, allocations: 0 / 415.9 MB, free: 10.96 MB / 334.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.0008647/0.2457, allocations: 0.7406 MB / 416.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.2457, allocations: 8.031 kB / 416.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.2459, allocations: 75.92 kB / 416.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.2465, allocations: 430.2 kB / 417.1 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.2465, allocations: 29 kB / 417.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.2466, allocations: 40 kB / 417.2 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006464/0.2472, allocations: 495.3 kB / 417.7 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.2472, allocations: 3.938 kB / 417.7 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.2473, allocations: 20 kB / 417.7 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.2473, allocations: 8 kB / 417.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.2478, allocations: 254.1 kB / 417.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.2497, allocations: 2.807 MB / 420.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.2501, allocations: 158.6 kB / 420.9 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.2503, allocations: 72.88 kB / 421 MB, free: 5.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.873e-05/0.2504, allocations: 85.09 kB / 421 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.2504, allocations: 42.5 kB / 421.1 MB, free: 5.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.2504, allocations: 0 / 421.1 MB, free: 5.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.00116/0.2516, allocations: 0.6321 MB / 421.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.2516, allocations: 55.41 kB / 421.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.252, allocations: 341.6 kB / 422.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.252, allocations: 33.7 kB / 422.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.2522, allocations: 299 kB / 422.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.2523, allocations: 67.05 kB / 422.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-05/0.2524, allocations: 69.56 kB / 422.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2525, allocations: 350.7 kB / 422.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.2527, allocations: 67.95 kB / 423 MB, free: 3.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.2529, allocations: 215.4 kB / 423.2 MB, free: 3.113 MB / 334.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.0008551/0.2538, allocations: 0.5178 MB / 423.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2538, allocations: 0 / 423.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005172/0.2543, allocations: 361.4 kB / 424.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2543, allocations: 8 kB / 424.1 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2543, allocations: 4 kB / 424.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/0.2545, allocations: 37.52 kB / 424.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.2547, allocations: 79.84 kB / 424.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.2559, allocations: 1.635 MB / 425.8 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.256, allocations: 16 kB / 425.8 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.2561, allocations: 16 kB / 425.8 MB, free: 216 kB / 334.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.0001663/0.2562, allocations: 185.1 kB / 426 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.2563, allocations: 43.64 kB / 426.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.779e-05/0.2564, allocations: 31.59 kB / 426.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.2564, allocations: 8.062 kB / 426.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2564, allocations: 0 / 426.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2564, allocations: 0 / 426.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000861/0.2573, allocations: 0.7103 MB / 426.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2573, allocations: 0 / 426.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.2575, allocations: 35.92 kB / 426.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.455e-05/0.2576, allocations: 29 kB / 426.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.2576, allocations: 8 kB / 426.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008705/0.2585, allocations: 1.434 MB / 428.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2585, allocations: 0 / 428.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.2589, allocations: 359.2 kB / 428.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.259, allocations: 108.6 kB / 428.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.259, allocations: 4 kB / 428.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.2591, allocations: 16.09 kB / 428.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.2592, allocations: 11.92 kB / 428.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.2592, allocations: 4 kB / 428.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.2594, allocations: 239.1 kB / 429.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2594, allocations: 4 kB / 429.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004121/0.2599, allocations: 64 kB / 429.1 MB, free: 12.66 MB / 350.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.0001106/0.26, allocations: 107.2 kB / 429.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005132/0.2605, allocations: 318.3 kB / 429.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2605, allocations: 1.375 kB / 429.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.2607, allocations: 178.6 kB / 429.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.261, allocations: 48.91 kB / 429.8 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.2623, allocations: 0.8373 MB / 430.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.2626, allocations: 0.8185 MB / 431.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.2627, allocations: 39.27 kB / 431.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.2628, allocations: 35.42 kB / 431.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2628, allocations: 0 / 431.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Templates: time 0.006501/0.2693, allocations: 2.757 MB / 434.2 MB, free: 7.465 MB / 350.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