Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",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.001075/0.001075, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.001094/0.001094, allocations: 192 kB / 18.56 MB, free: 4.434 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.331/1.331, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.1975/0.1975, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001233, allocations: 69.02 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1037, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004617/0.1084, allocations: 1.692 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.1106, allocations: 0.8885 MB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1107, allocations: 0 / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.1112, allocations: 35.77 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.1115, allocations: 51.77 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.112, allocations: 115.6 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.1122, allocations: 95.7 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1123, allocations: 8.219 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1124, allocations: 39.8 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.234e-05/0.1125, allocations: 31.84 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.1126, allocations: 0 / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1127, allocations: 51.91 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.1128, allocations: 15.94 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.1129, allocations: 43.72 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.1132, allocations: 111.9 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.1132, allocations: 4 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1132, allocations: 0 / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1132, allocations: 0 / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000686/0.1139, allocations: 407 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.114, allocations: 8.031 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.114, allocations: 42.69 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/0.1141, allocations: 12.75 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.1144, allocations: 212.1 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1144, allocations: 384 / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.1145, allocations: 11.94 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1147, allocations: 49.67 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1147, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1147, allocations: 4 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1147, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.1148, allocations: 19.98 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.1153, allocations: 288.8 kB / 473.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.1156, allocations: 58.67 kB / 473.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.058e-05/0.1157, allocations: 20.86 kB / 473.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.1157, allocations: 3.938 kB / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.116, allocations: 71.33 kB / 473.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.116, allocations: 0 / 473.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007128/0.1167, allocations: 173.2 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.1168, allocations: 51.41 kB / 473.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.1171, allocations: 194.1 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1171, allocations: 25.7 kB / 474.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/0.1172, allocations: 104.1 kB / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.1173, allocations: 23.7 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.1173, allocations: 33.7 kB / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1175, allocations: 322.8 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.169e-05/0.1176, allocations: 12 kB / 474.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1177, allocations: 37.7 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.1179, allocations: 61.64 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1179, allocations: 0 / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002638/0.1182, allocations: 105.5 kB / 474.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1182, allocations: 4 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1182, allocations: 3.984 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1182, allocations: 0 / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1184, allocations: 19.94 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.1184, allocations: 4.141 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.1185, allocations: 4.125 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1185, allocations: 4 kB / 474.9 MB, free: 8.469 MB / 350.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 (10): * Single equations (assignments): 10 * 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.0001376/0.1187, allocations: 133.8 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.1187, allocations: 11.91 kB / 475 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.074e-05/0.1188, allocations: 16.7 kB / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1188, allocations: 0 / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1188, allocations: 0 / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1188, allocations: 3.938 kB / 475 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006053/0.1194, allocations: 391.3 kB / 475.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1195, allocations: 0 / 475.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.1195, allocations: 12.03 kB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1195, allocations: 4.312 kB / 475.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.1196, allocations: 7.984 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.1196, allocations: 7.938 kB / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1196, allocations: 0 / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.12, allocations: 208.1 kB / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/0.1201, allocations: 89 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.1201, allocations: 7.938 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.1203, allocations: 7.984 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.1203, allocations: 8 kB / 475.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.1204, allocations: 0 / 475.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002193/0.1206, allocations: 147.2 kB / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1206, allocations: 0 / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004967/0.1211, allocations: 24 kB / 475.9 MB, free: 7.301 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002752/0.1239, allocations: 1.096 MB / 477 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003484/0.1243, allocations: 59.92 kB / 477.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1243, allocations: 3.938 kB / 477.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.1245, allocations: 31.92 kB / 477.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.1251, allocations: 28.27 kB / 477.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.1281, allocations: 1.635 MB / 478.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.1287, allocations: 0.7041 MB / 479.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.119e-05/0.1288, allocations: 12.89 kB / 479.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.58e-05/0.1289, allocations: 31.42 kB / 479.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1289, allocations: 0 / 479.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.156, allocations: 3.296 MB / 482.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/7.908, allocations: 13.75 kB / 482.9 MB, free: 0.5156 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_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_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches