Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001582, allocations: 112.7 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 180.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2177/0.2177, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3624, allocations: 60.82 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002897/0.3654, allocations: 1.67 MB / 0.5201 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3665, allocations: 0.8502 MB / 0.521 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.3666, allocations: 5.062 kB / 0.521 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.3669, allocations: 50.39 kB / 0.521 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.3672, allocations: 63.83 kB / 0.5211 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.3674, allocations: 103.5 kB / 0.5212 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.3676, allocations: 89 kB / 0.5213 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.3677, allocations: 9.625 kB / 0.5213 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.3678, allocations: 36.72 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.817e-05/0.3679, allocations: 33.11 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.3679, allocations: 2.719 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.934e-05/0.368, allocations: 34.67 kB / 0.5214 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.368, allocations: 22.92 kB / 0.5214 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.3681, allocations: 42.06 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.3683, allocations: 113.1 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3683, allocations: 0.6562 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3683, allocations: 1.062 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.3683, allocations: 0 / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000469/0.3688, allocations: 441.7 kB / 0.522 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3689, allocations: 12.91 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.932e-05/0.3689, allocations: 32.64 kB / 0.522 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.3689, allocations: 18.02 kB / 0.522 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.3692, allocations: 215 kB / 0.5222 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3692, allocations: 0.9375 kB / 0.5222 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.3692, allocations: 6.594 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.3694, allocations: 46.48 kB / 0.5223 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3694, allocations: 4 kB / 0.5223 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3694, allocations: 8.75 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3694, allocations: 1.031 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.849e-05/0.3695, allocations: 10.94 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.3696, allocations: 189.7 kB / 0.5225 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.3698, allocations: 57.3 kB / 0.5225 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.3698, allocations: 19.3 kB / 0.5226 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3699, allocations: 10.05 kB / 0.5226 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.37, allocations: 64 kB / 0.5226 GB, free: 220 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.154e-06/0.37, allocations: 3.984 kB / 0.5226 GB, free: 216 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002595/0.3703, allocations: 101.8 kB / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.3703, allocations: 53.06 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.3706, allocations: 256.9 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.3706, allocations: 31.42 kB / 0.5231 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.3707, allocations: 118.9 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.3707, allocations: 15.58 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.3708, allocations: 20.14 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3709, allocations: 327.9 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-05/0.371, allocations: 13.83 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-05/0.3711, allocations: 26.77 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.3712, allocations: 50.78 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.3712, allocations: 3.938 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001735/0.3714, allocations: 81.86 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3714, allocations: 6.062 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3714, allocations: 0 / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3714, allocations: 5.031 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.121e-05/0.3715, allocations: 10.88 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3715, allocations: 2.281 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.3716, allocations: 6.062 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3716, allocations: 6.156 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.3717, allocations: 133 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.3718, allocations: 14.88 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.3718, allocations: 18.14 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3718, allocations: 1.094 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.3718, allocations: 4.703 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3719, allocations: 5.281 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.3721, allocations: 197.7 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3721, allocations: 4 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.3721, allocations: 4.547 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3721, allocations: 0 / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3721, allocations: 1.578 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.3721, allocations: 1.719 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3721, allocations: 3.938 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.3724, allocations: 114.2 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.3724, allocations: 89.36 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.3725, allocations: 5.781 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.3725, allocations: 1.703 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.3726, allocations: 4.062 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3726, allocations: 3.016 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002233/0.3728, allocations: 203.8 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3728, allocations: 5.188 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.3731, allocations: 22.69 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001491/0.3745, allocations: 0.9628 MB / 0.5255 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.3748, allocations: 36.73 kB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3748, allocations: 0 / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.081e-05/0.3748, allocations: 22.97 kB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.3752, allocations: 24.95 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.3771, allocations: 1.658 MB / 0.5272 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.3774, allocations: 0.7165 MB / 0.5279 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.084e-05/0.3774, allocations: 13.91 kB / 0.5279 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.3775, allocations: 37.88 kB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3775, allocations: 4 kB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.3965, allocations: 3.409 MB / 0.5312 GB, free: 10.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/7.869, allocations: 8.812 kB / 0.5313 GB, free: 10.39 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches