Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 183.2 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 224.2 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000996/0.000996, allocations: 89.53 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003195, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2397, allocations: 47.58 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09562/0.3354, allocations: 79.69 MB / 456.7 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.3358, allocations: 67.97 kB / 456.8 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02094/0.3567, allocations: 7.994 MB / 464.8 MB, free: 8.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3568, allocations: 0 / 464.8 MB, free: 8.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.02e-05/0.3568, allocations: 8 kB / 464.8 MB, free: 8.66 MB / 346.7 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.001089/0.3579, allocations: 0.6509 MB / 465.4 MB, free: 7.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.358, allocations: 8.031 kB / 465.4 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.3581, allocations: 60.19 kB / 465.5 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006327/0.3588, allocations: 372.9 kB / 465.9 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.3588, allocations: 37.38 kB / 465.9 MB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.3589, allocations: 36.38 kB / 465.9 MB, free: 7.414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008461/0.3598, allocations: 488.8 kB / 466.4 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.3598, allocations: 8.125 kB / 466.4 MB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.3599, allocations: 27.92 kB / 466.5 MB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.3599, allocations: 11.94 kB / 466.5 MB, free: 6.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005389/0.3605, allocations: 246.2 kB / 466.7 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.3629, allocations: 2.804 MB / 469.5 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.3634, allocations: 158.7 kB / 469.7 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.3635, allocations: 72.83 kB / 469.7 MB, free: 3.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.3637, allocations: 81.11 kB / 469.8 MB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.3637, allocations: 38.5 kB / 469.9 MB, free: 3.246 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.256e-06/0.3638, allocations: 0 / 469.9 MB, free: 3.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001516/0.3653, allocations: 0.6281 MB / 470.5 MB, free: 2.562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3653, allocations: 55.31 kB / 470.5 MB, free: 2.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.3658, allocations: 345.6 kB / 470.9 MB, free: 2.148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3659, allocations: 29.7 kB / 470.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.366, allocations: 295 kB / 471.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.3661, allocations: 71.03 kB / 471.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.3661, allocations: 8 kB / 471.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3662, allocations: 350.7 kB / 471.6 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3664, allocations: 71.92 kB / 471.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.3666, allocations: 219.5 kB / 471.9 MB, free: 1.035 MB / 346.7 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.001079/0.3677, allocations: 0.5306 MB / 472.4 MB, free: 432 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3677, allocations: 0 / 472.4 MB, free: 432 kB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006459/0.3684, allocations: 354.4 kB / 472.8 MB, free: 68 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.3684, allocations: 8 kB / 472.8 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.3684, allocations: 8 kB / 472.8 MB, free: 52 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/0.3686, allocations: 41.52 kB / 472.8 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.3689, allocations: 87.94 kB / 472.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.3702, allocations: 1.452 MB / 474.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.3705, allocations: 24.05 kB / 474.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.3705, allocations: 16 kB / 474.4 MB, free: 14.29 MB / 362.7 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 (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.0003427/0.3709, allocations: 170 kB / 474.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.455e-05/0.371, allocations: 39.47 kB / 474.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.351e-05/0.3711, allocations: 43.58 kB / 474.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3711, allocations: 4 kB / 474.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.3711, allocations: 0 / 474.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3711, allocations: 4 kB / 474.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3721, allocations: 0.6568 MB / 475.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3722, allocations: 0 / 475.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.3724, allocations: 43.94 kB / 475.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-05/0.3725, allocations: 24.98 kB / 475.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.3725, allocations: 8 kB / 475.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.3735, allocations: 1.331 MB / 476.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3735, allocations: 0 / 476.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.3741, allocations: 360.6 kB / 477.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.3742, allocations: 108.7 kB / 477.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.3742, allocations: 4 kB / 477.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.3744, allocations: 12.03 kB / 477.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.3744, allocations: 11.98 kB / 477.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.3745, allocations: 8 kB / 477.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000233/0.3747, allocations: 227.2 kB / 477.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3747, allocations: 0 / 477.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005011/0.3752, allocations: 76 kB / 477.5 MB, free: 10.94 MB / 362.7 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.000133/0.3753, allocations: 110.9 kB / 477.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006173/0.376, allocations: 314.2 kB / 477.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.376, allocations: 4 kB / 477.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.3762, allocations: 182.8 kB / 478.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.3766, allocations: 45.42 kB / 478.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.3783, allocations: 1.052 MB / 479.2 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.3789, allocations: 0.8148 MB / 480 MB, free: 8.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.3791, allocations: 39.27 kB / 480.1 MB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.167e-05/0.3792, allocations: 31.42 kB / 480.1 MB, free: 8.266 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3793, allocations: 0 / 480.1 MB, free: 8.266 MB / 362.7 MB Notification: Performance of Templates: time 0.007025/0.3863, allocations: 2.474 MB / 482.6 MB, free: 5.797 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches