Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",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.001505/0.001505, 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.001622/0.001622, 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.34/1.34, 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.195/0.195, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 73.03 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1142, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003216/0.1174, allocations: 1.7 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1189, allocations: 0.8769 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.702e-05/0.1191, allocations: 0 / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.1194, allocations: 31.77 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.1197, allocations: 59.77 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.1201, allocations: 115.5 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.1203, allocations: 91.7 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1204, allocations: 16.22 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.1205, allocations: 35.8 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.402e-05/0.1206, allocations: 35.83 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1206, allocations: 4 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.1208, allocations: 44 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.1208, allocations: 23.84 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.745e-05/0.1209, allocations: 31.8 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.1212, allocations: 107.9 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1212, allocations: 0 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1212, allocations: 0 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1212, allocations: 0 / 472.5 MB, free: 11.07 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.0005554/0.1218, allocations: 411 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1218, allocations: 8.031 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.1219, allocations: 38.75 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.1219, allocations: 8.844 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1221, allocations: 208 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1222, allocations: 4.375 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.1222, allocations: 3.938 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1224, allocations: 53.67 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1224, allocations: 4 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1224, allocations: 0 / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1224, allocations: 3.984 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.806e-05/0.1225, allocations: 16 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.1229, allocations: 292.8 kB / 473.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.123, allocations: 54.67 kB / 473.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.1231, allocations: 24.84 kB / 473.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.1231, allocations: 0 / 473.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.1233, allocations: 75.3 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1233, allocations: 3.938 kB / 473.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000527/0.1239, allocations: 161.4 kB / 473.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.1239, allocations: 55.41 kB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.1241, allocations: 177.8 kB / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1241, allocations: 29.7 kB / 474.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.1242, allocations: 104.1 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.1242, allocations: 19.66 kB / 474.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.1243, allocations: 29.7 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1244, allocations: 322.8 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.94e-05/0.1245, allocations: 20 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.979e-05/0.1246, allocations: 37.64 kB / 474.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.1247, allocations: 57.7 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1247, allocations: 7.938 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002195/0.1249, allocations: 105.5 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.125, allocations: 7.938 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.125, allocations: 3.984 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.125, allocations: 4 kB / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.1251, allocations: 15.94 kB / 474.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1251, allocations: 0 / 474.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.1251, allocations: 7.938 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1252, allocations: 4.031 kB / 474.9 MB, free: 8.5 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 9.721e-05/0.1253, allocations: 125.8 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.1253, allocations: 11.91 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.1253, allocations: 16.7 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1254, allocations: 0 / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1254, allocations: 0 / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.1254, allocations: 3.938 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.1258, allocations: 391.3 kB / 475.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1258, allocations: 0 / 475.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.1258, allocations: 12 kB / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1259, allocations: 7.922 kB / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1259, allocations: 0 / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1259, allocations: 4 kB / 475.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/0.1259, allocations: 4.359 kB / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.1261, allocations: 208.2 kB / 475.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.1262, allocations: 81.02 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.1262, allocations: 7.938 kB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.1263, allocations: 4 kB / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.1263, allocations: 7.984 kB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1263, allocations: 8 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.1264, allocations: 132.7 kB / 475.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1264, allocations: 0 / 475.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1267, allocations: 23.98 kB / 475.9 MB, free: 7.363 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.001374/0.1281, allocations: 1.108 MB / 477 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.1283, allocations: 63.89 kB / 477.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1283, allocations: 0 / 477.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.679e-05/0.1284, allocations: 32.08 kB / 477.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1287, allocations: 27.09 kB / 477.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.1304, allocations: 1.601 MB / 478.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1307, allocations: 0.7079 MB / 479.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.213e-05/0.1308, allocations: 12.88 kB / 479.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.1308, allocations: 31.42 kB / 479.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1308, allocations: 0 / 479.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.1512, allocations: 3.237 MB / 482.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/7.992, allocations: 16.33 kB / 482.7 MB, free: 0.6602 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_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_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches