Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_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.001679/0.001679, allocations: 104.9 kB / 16.4 MB, free: 6.469 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.001754/0.001755, allocations: 189.5 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2056/0.2056, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 69.47 kB / 441.4 MB, free: 6.066 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1147, allocations: 57.8 MB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002893/0.1176, allocations: 1.658 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1191, allocations: 0.7805 MB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1192, allocations: 4 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.1196, allocations: 55.75 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.1199, allocations: 59.75 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.1202, allocations: 79.72 kB / 0.49 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.1204, allocations: 91.69 kB / 0.4901 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.505e-05/0.1205, allocations: 15.97 kB / 0.4901 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1206, allocations: 39.8 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/0.1207, allocations: 35.78 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1207, allocations: 0 / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1208, allocations: 35.98 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.1209, allocations: 23.92 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.121, allocations: 35.69 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.1212, allocations: 119.4 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1213, allocations: 0 / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1213, allocations: 0 / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1213, allocations: 4 kB / 0.4904 GB, free: 9.145 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.0006268/0.1219, allocations: 430.6 kB / 0.4908 GB, free: 8.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.122, allocations: 15.89 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.884e-05/0.1221, allocations: 34.73 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/0.1221, allocations: 16.84 kB / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.1226, allocations: 223.8 kB / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1226, allocations: 384 / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1226, allocations: 7.938 kB / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1228, allocations: 49.67 kB / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1228, allocations: 0 / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1228, allocations: 0 / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1228, allocations: 0 / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.633e-05/0.1229, allocations: 15.94 kB / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.1231, allocations: 193.7 kB / 0.4914 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.1233, allocations: 58.55 kB / 0.4914 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.1234, allocations: 16.86 kB / 0.4914 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1234, allocations: 3.984 kB / 0.4914 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.1236, allocations: 67.39 kB / 0.4915 GB, free: 7.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.1236, allocations: 3.938 kB / 0.4915 GB, free: 7.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002771/0.1239, allocations: 97.52 kB / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.1239, allocations: 63.39 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.1242, allocations: 254.6 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1242, allocations: 29.69 kB / 0.4919 GB, free: 7.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.1242, allocations: 104.1 kB / 0.492 GB, free: 7.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.1243, allocations: 23.86 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.1243, allocations: 17.72 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1245, allocations: 330.8 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.045e-05/0.1245, allocations: 11.98 kB / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.445e-05/0.1246, allocations: 37.94 kB / 0.4924 GB, free: 6.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.715e-05/0.1247, allocations: 45.66 kB / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1247, allocations: 7.875 kB / 0.4925 GB, free: 6.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001695/0.1249, allocations: 89.52 kB / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1249, allocations: 8 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1249, allocations: 0 / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1249, allocations: 0 / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.125, allocations: 12.03 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.125, allocations: 0 / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.1251, allocations: 7.953 kB / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.1251, allocations: 7.984 kB / 0.4926 GB, free: 6.652 MB / 382.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.0001252/0.1252, allocations: 141.4 kB / 0.4927 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.1253, allocations: 15.91 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.1253, allocations: 17 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1253, allocations: 0 / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.1253, allocations: 0 / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1253, allocations: 4 kB / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.1255, allocations: 197.6 kB / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1255, allocations: 0 / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.1255, allocations: 7.938 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1256, allocations: 3.984 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1256, allocations: 4 kB / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1256, allocations: 0 / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1256, allocations: 0 / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.1258, allocations: 121.1 kB / 0.4931 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.1259, allocations: 85.06 kB / 0.4932 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.1259, allocations: 7.938 kB / 0.4932 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.939e-05/0.1259, allocations: 4 kB / 0.4932 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.126, allocations: 3.984 kB / 0.4932 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.126, allocations: 4 kB / 0.4932 GB, free: 5.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001881/0.1262, allocations: 196.5 kB / 0.4934 GB, free: 5.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1262, allocations: 0 / 0.4934 GB, free: 5.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.1264, allocations: 19.89 kB / 0.4934 GB, free: 5.742 MB / 382.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.001282/0.1277, allocations: 0.946 MB / 0.4943 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.1279, allocations: 43.91 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1279, allocations: 0 / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.994e-05/0.128, allocations: 19.98 kB / 0.4944 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.1282, allocations: 32.03 kB / 0.4944 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.13, allocations: 1.653 MB / 0.496 GB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.1303, allocations: 0.7158 MB / 0.4967 GB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.102e-05/0.1304, allocations: 12.55 kB / 0.4968 GB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.1305, allocations: 39.42 kB / 0.4968 GB, free: 2.18 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1305, allocations: 0 / 0.4968 GB, free: 2.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.1535, allocations: 3.414 MB / 0.5001 GB, free: 14.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.151, allocations: 7.938 kB / 0.5001 GB, free: 14.74 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches