Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009982/0.0009982, allocations: 177.3 kB / 17.41 MB, free: 4.418 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.435/1.435, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007774/0.0007777, allocations: 88.03 kB / 271.9 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003065, allocations: 12 kB / 328.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2363, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08996/0.3263, allocations: 79.69 MB / 455.4 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.3265, allocations: 75.97 kB / 455.5 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01883/0.3454, allocations: 7.977 MB / 463.5 MB, free: 8.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3454, allocations: 0 / 463.5 MB, free: 8.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.892e-05/0.3455, allocations: 16 kB / 463.5 MB, free: 8.762 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.00102/0.3465, allocations: 0.6548 MB / 464.1 MB, free: 8.055 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3466, allocations: 8.031 kB / 464.1 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.3467, allocations: 60.19 kB / 464.2 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.3472, allocations: 372.9 kB / 464.6 MB, free: 7.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.3473, allocations: 29.38 kB / 464.6 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/0.3473, allocations: 44.36 kB / 464.6 MB, free: 7.512 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007642/0.3481, allocations: 484.8 kB / 465.1 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.3481, allocations: 8.125 kB / 465.1 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.3482, allocations: 23.94 kB / 465.1 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.3482, allocations: 15.94 kB / 465.2 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005048/0.3487, allocations: 246.2 kB / 465.4 MB, free: 6.676 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.3511, allocations: 2.804 MB / 468.2 MB, free: 3.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.3516, allocations: 162.7 kB / 468.4 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3517, allocations: 72.83 kB / 468.4 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.3519, allocations: 85.09 kB / 468.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.3519, allocations: 38.5 kB / 468.6 MB, free: 3.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.352, allocations: 7.938 kB / 468.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001322/0.3533, allocations: 0.62 MB / 469.2 MB, free: 2.656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.3533, allocations: 59.31 kB / 469.2 MB, free: 2.586 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.3537, allocations: 349.6 kB / 469.6 MB, free: 2.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3537, allocations: 25.7 kB / 469.6 MB, free: 2.203 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.3539, allocations: 299 kB / 469.9 MB, free: 1.906 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.354, allocations: 67.03 kB / 470 MB, free: 1.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.354, allocations: 8 kB / 470 MB, free: 1.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3541, allocations: 346.8 kB / 470.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.3543, allocations: 67.92 kB / 470.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.3545, allocations: 225.9 kB / 470.6 MB, free: 1.129 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.0009089/0.3555, allocations: 0.5234 MB / 471.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3555, allocations: 4 kB / 471.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005684/0.3561, allocations: 360.2 kB / 471.5 MB, free: 164 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3561, allocations: 8 kB / 471.5 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.3561, allocations: 8 kB / 471.5 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.3562, allocations: 32.84 kB / 471.5 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.3565, allocations: 79.83 kB / 471.6 MB, free: 32 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.3577, allocations: 1.46 MB / 473.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.3579, allocations: 28.05 kB / 473.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.358, allocations: 16 kB / 473.1 MB, free: 14.39 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.0001945/0.3582, allocations: 174 kB / 473.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.3582, allocations: 39.47 kB / 473.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.109e-05/0.3583, allocations: 39.58 kB / 473.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3583, allocations: 4 kB / 473.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3583, allocations: 0 / 473.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.3583, allocations: 4 kB / 473.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009165/0.3592, allocations: 0.6647 MB / 474 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3593, allocations: 0 / 474 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.3594, allocations: 31.98 kB / 474.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-05/0.3595, allocations: 28.88 kB / 474.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.3596, allocations: 4 kB / 474.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009008/0.3605, allocations: 1.331 MB / 475.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3605, allocations: 0 / 475.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.361, allocations: 368 kB / 475.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.007e-05/0.3611, allocations: 104.6 kB / 475.9 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.3611, allocations: 4 kB / 475.9 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.3613, allocations: 16.03 kB / 475.9 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.3613, allocations: 11.98 kB / 475.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.3613, allocations: 7.938 kB / 475.9 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002161/0.3615, allocations: 231.2 kB / 476.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3616, allocations: 0 / 476.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000402/0.362, allocations: 72 kB / 476.2 MB, free: 11.04 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.0001249/0.3621, allocations: 111 kB / 476.3 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005388/0.3626, allocations: 312.2 kB / 476.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3627, allocations: 7.938 kB / 476.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.3629, allocations: 182.8 kB / 476.8 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.3632, allocations: 45.42 kB / 476.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.3647, allocations: 1.072 MB / 477.9 MB, free: 9.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.3652, allocations: 0.8148 MB / 478.7 MB, free: 8.398 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.3652, allocations: 35.42 kB / 478.8 MB, free: 8.363 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3652, allocations: 0 / 478.8 MB, free: 8.363 MB / 362.7 MB Notification: Performance of Templates: time 0.008084/0.3733, allocations: 6.285 MB / 485.1 MB, free: 2.066 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches