Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",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.001113/0.001113, allocations: 103.9 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.001057/0.001057, 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.456/1.456, 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.2021/0.2021, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.81 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1068, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003165/0.11, allocations: 1.793 MB / 471.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.1122, allocations: 1.546 MB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.646e-05/0.1123, allocations: 3.938 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.1126, allocations: 59.73 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.113, allocations: 87.55 kB / 472.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.1133, allocations: 174.4 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.1136, allocations: 179.5 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.1136, allocations: 9.562 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1138, allocations: 79.58 kB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.114, allocations: 83.61 kB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.114, allocations: 8 kB / 473.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1141, allocations: 59.97 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.1142, allocations: 31.84 kB / 473.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.1143, allocations: 55.61 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.1146, allocations: 171.8 kB / 473.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1146, allocations: 0 / 473.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1146, allocations: 0 / 473.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1146, allocations: 0 / 473.7 MB, free: 9.906 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006643/0.1153, allocations: 478.5 kB / 474.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1153, allocations: 8.031 kB / 474.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.188e-05/0.1154, allocations: 38.73 kB / 474.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.1154, allocations: 12.84 kB / 474.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.1157, allocations: 239.9 kB / 474.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1157, allocations: 8.375 kB / 474.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.1158, allocations: 3.938 kB / 474.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.116, allocations: 109 kB / 474.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.116, allocations: 0 / 474.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.116, allocations: 0 / 474.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.116, allocations: 4 kB / 474.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1161, allocations: 31.97 kB / 474.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.1163, allocations: 210.5 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.1166, allocations: 113.1 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.852e-05/0.1167, allocations: 37.7 kB / 475 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1167, allocations: 3.984 kB / 475 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.117, allocations: 113 kB / 475.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.117, allocations: 0 / 475.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004413/0.1175, allocations: 169.4 kB / 475.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.1176, allocations: 128.5 kB / 475.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.1178, allocations: 215.8 kB / 475.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1178, allocations: 25.7 kB / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.1179, allocations: 120.1 kB / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.1179, allocations: 35.55 kB / 475.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.118, allocations: 25.72 kB / 475.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1181, allocations: 326.8 kB / 476.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.327e-05/0.1182, allocations: 27.98 kB / 476.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.1183, allocations: 77.02 kB / 476.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.1185, allocations: 91.91 kB / 476.3 MB, free: 7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1185, allocations: 3.938 kB / 476.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002543/0.1187, allocations: 133.4 kB / 476.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1188, allocations: 4 kB / 476.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1188, allocations: 8.094 kB / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1188, allocations: 0 / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1189, allocations: 23.98 kB / 476.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1189, allocations: 4 kB / 476.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.119, allocations: 7.984 kB / 476.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.119, allocations: 7.938 kB / 476.5 MB, free: 6.805 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001062/0.1191, allocations: 129.8 kB / 476.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.1192, allocations: 15.81 kB / 476.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.1192, allocations: 28.97 kB / 476.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.1192, allocations: 4 kB / 476.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1193, allocations: 0 / 476.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1193, allocations: 0 / 476.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.1194, allocations: 225.4 kB / 476.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1194, allocations: 0 / 476.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.1195, allocations: 8 kB / 476.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1195, allocations: 0 / 476.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1195, allocations: 4 kB / 476.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1195, allocations: 128 / 476.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1195, allocations: 7.938 kB / 476.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.1198, allocations: 173.7 kB / 477.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.1199, allocations: 88.95 kB / 477.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.1199, allocations: 7.938 kB / 477.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.12, allocations: 7.984 kB / 477.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.12, allocations: 8 kB / 477.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.12, allocations: 7.984 kB / 477.2 MB, free: 6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1202, allocations: 157.5 kB / 477.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1202, allocations: 7.938 kB / 477.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1205, allocations: 35.98 kB / 477.4 MB, free: 5.805 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001497/0.122, allocations: 1.051 MB / 478.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.1222, allocations: 79.91 kB / 478.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1222, allocations: 0 / 478.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1223, allocations: 44.03 kB / 478.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1227, allocations: 58.48 kB / 478.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.1247, allocations: 1.827 MB / 480.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.125, allocations: 0.7125 MB / 481.1 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.667e-05/0.1251, allocations: 34.02 kB / 481.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.038e-05/0.1252, allocations: 47.41 kB / 481.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1252, allocations: 4 kB / 481.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.147, allocations: 4.606 MB / 485.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/7.571, allocations: 4.562 kB / 485.8 MB, free: 13.45 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches