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.0006898/0.0006899, allocations: 95.94 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007975/0.0007975, allocations: 204.3 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003684, allocations: 8 kB / 307.7 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1087, allocations: 51.52 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00327/0.1121, allocations: 2.711 MB / 362 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.1139, allocations: 1.018 MB / 363 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003272/0.1143, allocations: 7.938 kB / 363 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.1145, allocations: 71.36 kB / 363.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.1148, allocations: 83.25 kB / 363.1 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.1153, allocations: 199.8 kB / 363.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005761/0.1159, allocations: 0.5097 MB / 363.8 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.1163, allocations: 198.2 kB / 364 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.1165, allocations: 147.2 kB / 364.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.1167, allocations: 143 kB / 364.3 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.1168, allocations: 16 kB / 364.3 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1169, allocations: 35.98 kB / 364.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.117, allocations: 63.64 kB / 364.4 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.1172, allocations: 220.4 kB / 364.7 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.1176, allocations: 0.51 MB / 365.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1176, allocations: 0 / 365.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1176, allocations: 0 / 365.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.1177, allocations: 0 / 365.2 MB, free: 7.328 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.0008932/0.1186, allocations: 0.651 MB / 365.8 MB, free: 6.629 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1186, allocations: 8.031 kB / 365.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.1188, allocations: 76.02 kB / 365.9 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/0.1193, allocations: 398.4 kB / 366.3 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.1194, allocations: 33 kB / 366.3 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/0.1194, allocations: 40 kB / 366.4 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.1202, allocations: 495.4 kB / 366.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.1202, allocations: 7.906 kB / 366.8 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.1203, allocations: 16 kB / 366.9 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.1203, allocations: 12 kB / 366.9 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005076/0.1208, allocations: 258.1 kB / 367.1 MB, free: 5.203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.123, allocations: 2.827 MB / 370 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.1234, allocations: 169.9 kB / 370.1 MB, free: 2.055 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.1236, allocations: 72.88 kB / 370.2 MB, free: 1.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.1237, allocations: 85.11 kB / 370.3 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1237, allocations: 38.48 kB / 370.3 MB, free: 1.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.1237, allocations: 0 / 370.3 MB, free: 1.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001282/0.125, allocations: 0.6391 MB / 371 MB, free: 1.141 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.1251, allocations: 55.41 kB / 371 MB, free: 1.074 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.1254, allocations: 345.5 kB / 371.3 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1255, allocations: 29.7 kB / 371.4 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.1256, allocations: 302.9 kB / 371.7 MB, free: 396 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.419e-05/0.1257, allocations: 67.09 kB / 371.7 MB, free: 328 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.1258, allocations: 33.7 kB / 371.8 MB, free: 288 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1597/0.2855, allocations: 349.8 kB / 372.1 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.2858, allocations: 68.97 kB / 372.2 MB, free: 19.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.2861, allocations: 222.9 kB / 372.4 MB, free: 19.03 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.00115/0.2873, allocations: 0.5163 MB / 372.9 MB, free: 18.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.2873, allocations: 1.844 kB / 372.9 MB, free: 18.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007968/0.2881, allocations: 367 kB / 373.3 MB, free: 18.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.2882, allocations: 6.312 kB / 373.3 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.2882, allocations: 5.281 kB / 373.3 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.2884, allocations: 36.38 kB / 373.3 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.2887, allocations: 79.2 kB / 373.4 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.2899, allocations: 1.46 MB / 374.9 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.2901, allocations: 22.47 kB / 374.9 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/0.2902, allocations: 18.02 kB / 374.9 MB, free: 17.31 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.0002598/0.2905, allocations: 181.5 kB / 375.1 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/0.2905, allocations: 39.22 kB / 375.1 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.942e-05/0.2906, allocations: 35.8 kB / 375.1 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2906, allocations: 5.906 kB / 375.2 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.2907, allocations: 1.953 kB / 375.2 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2907, allocations: 1.266 kB / 375.2 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.2917, allocations: 0.7088 MB / 375.9 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2917, allocations: 5.391 kB / 375.9 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.2919, allocations: 41.94 kB / 375.9 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.818e-05/0.292, allocations: 28.95 kB / 375.9 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.292, allocations: 5.766 kB / 375.9 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000682/0.2927, allocations: 1.329 MB / 377.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2927, allocations: 0.75 kB / 377.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.2932, allocations: 370.6 kB / 377.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.2933, allocations: 112.1 kB / 377.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.2934, allocations: 5.594 kB / 377.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.2935, allocations: 10.66 kB / 377.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.2936, allocations: 15.45 kB / 377.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.2936, allocations: 3.516 kB / 377.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003163/0.2939, allocations: 234.4 kB / 378 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2939, allocations: 0.5 kB / 378 MB, free: 15.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004969/0.2944, allocations: 75.34 kB / 378.1 MB, free: 15.17 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.0001097/0.2945, allocations: 100 kB / 378.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005941/0.2951, allocations: 321.5 kB / 378.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2952, allocations: 0 / 378.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.2954, allocations: 186.2 kB / 378.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.2958, allocations: 43.48 kB / 378.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.2971, allocations: 1.093 MB / 379.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.2974, allocations: 0.8176 MB / 380.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.2976, allocations: 37.77 kB / 380.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.555e-05/0.2977, allocations: 29.91 kB / 380.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2977, allocations: 0 / 380.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of Templates: time 0.006984/0.3047, allocations: 2.543 MB / 383.2 MB, free: 13.18 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