Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",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.00152/0.00152, allocations: 104.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.001778/0.001778, 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.394/1.394, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.1982/0.1982, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 68.02 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1137, allocations: 60.81 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003409/0.1171, allocations: 1.708 MB / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1186, allocations: 0.8808 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1187, allocations: 3.938 kB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.1191, allocations: 39.81 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.1193, allocations: 63.69 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.1196, allocations: 114.4 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1198, allocations: 99.69 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.1199, allocations: 12.23 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.12, allocations: 35.8 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.784e-05/0.1201, allocations: 31.84 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.1201, allocations: 4 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1202, allocations: 43.98 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.1203, allocations: 23.91 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.1204, allocations: 47.67 kB / 472.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1206, allocations: 123.8 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1206, allocations: 3.938 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1206, allocations: 3.938 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1206, allocations: 0 / 472.6 MB, free: 11.04 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.0006124/0.1212, allocations: 445.6 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1213, allocations: 12.03 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.1213, allocations: 34.75 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.1214, allocations: 16.75 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.1216, allocations: 216 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1216, allocations: 384 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1216, allocations: 11.94 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1218, allocations: 57.61 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1218, allocations: 4 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1218, allocations: 0 / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1218, allocations: 4 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.433e-05/0.1219, allocations: 15.98 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.1223, allocations: 300.9 kB / 473.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1225, allocations: 50.62 kB / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.1226, allocations: 24.84 kB / 473.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1226, allocations: 0 / 473.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.1228, allocations: 67.39 kB / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1228, allocations: 0 / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005525/0.1234, allocations: 189 kB / 474 MB, free: 9.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.1234, allocations: 51.41 kB / 474.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.1237, allocations: 270.9 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1237, allocations: 25.7 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.1238, allocations: 112.1 kB / 474.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.1238, allocations: 27.69 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.1238, allocations: 25.72 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.124, allocations: 322.8 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.695e-05/0.124, allocations: 23.98 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.876e-05/0.1241, allocations: 45.58 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.1242, allocations: 57.7 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1243, allocations: 0 / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.1244, allocations: 105.4 kB / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1245, allocations: 4 kB / 475.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1245, allocations: 0 / 475.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.1245, allocations: 4 kB / 475.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.1246, allocations: 16.17 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1246, allocations: 0 / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.1247, allocations: 19.81 kB / 475.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.1247, allocations: 0 / 475.1 MB, free: 8.281 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.0001006/0.1248, allocations: 145 kB / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.1248, allocations: 19.8 kB / 475.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/0.1249, allocations: 21.39 kB / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1249, allocations: 0 / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1249, allocations: 384 / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1249, allocations: 3.938 kB / 475.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.1253, allocations: 399.3 kB / 475.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1253, allocations: 4 kB / 475.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.1254, allocations: 16.03 kB / 475.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1254, allocations: 7.938 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1254, allocations: 0 / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1254, allocations: 0 / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1254, allocations: 7.984 kB / 475.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.1256, allocations: 212.3 kB / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.1257, allocations: 88.92 kB / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.1257, allocations: 7.938 kB / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.1258, allocations: 4 kB / 476 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.1259, allocations: 7.984 kB / 476 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.1259, allocations: 4 kB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.126, allocations: 196.2 kB / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1261, allocations: 0 / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1263, allocations: 27.98 kB / 476.2 MB, free: 7.031 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.001372/0.1277, allocations: 1.095 MB / 477.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.1279, allocations: 59.97 kB / 477.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1279, allocations: 0 / 477.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.036e-05/0.128, allocations: 31.92 kB / 477.4 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.1283, allocations: 31.02 kB / 477.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.1302, allocations: 1.802 MB / 479.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.1305, allocations: 0.7197 MB / 480 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.708e-05/0.1306, allocations: 17.17 kB / 480 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/0.1306, allocations: 43.36 kB / 480 MB, free: 3.27 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1306, allocations: 0 / 480 MB, free: 3.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.1549, allocations: 3.622 MB / 483.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.003, allocations: 7.938 kB / 483.7 MB, free: 15.72 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_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_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches