Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",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.001208/0.001208, allocations: 104.8 kB / 16.41 MB, free: 6.5 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.00144/0.00144, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.426/1.426, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2126/0.2126, allocations: 43.53 MB / 314.1 MB, free: 444 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.001415/0.001415, allocations: 69.47 kB / 441.4 MB, free: 6.059 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1222, allocations: 57.78 MB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003736/0.126, allocations: 1.697 MB / 0.4891 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.128, allocations: 0.8 MB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.1282, allocations: 4 kB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005459/0.1288, allocations: 39.75 kB / 0.4899 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.1293, allocations: 51.77 kB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.1298, allocations: 95.7 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.1301, allocations: 95.62 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.1303, allocations: 20.22 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.1304, allocations: 43.78 kB / 0.4902 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.1306, allocations: 31.78 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.1306, allocations: 4 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.1308, allocations: 39.98 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.513e-05/0.1309, allocations: 23.91 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.485e-05/0.131, allocations: 31.75 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.1314, allocations: 111.6 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1314, allocations: 3.938 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1314, allocations: 0 / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.1314, allocations: 4 kB / 0.4905 GB, free: 9.094 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006079/0.132, allocations: 410.8 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.1321, allocations: 15.89 kB / 0.4909 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.1322, allocations: 30.75 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.1322, allocations: 8.891 kB / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.1326, allocations: 208.2 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1326, allocations: 384 / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.1326, allocations: 7.938 kB / 0.4911 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1328, allocations: 57.67 kB / 0.4912 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1328, allocations: 3.953 kB / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1328, allocations: 0 / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1328, allocations: 3.938 kB / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.769e-05/0.1329, allocations: 19.98 kB / 0.4912 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.1334, allocations: 284.9 kB / 0.4915 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.1336, allocations: 66.66 kB / 0.4915 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.002e-05/0.1337, allocations: 20.8 kB / 0.4916 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.1337, allocations: 0 / 0.4916 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.1339, allocations: 67.39 kB / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 5.069e-06/0.1339, allocations: 0 / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007748/0.1347, allocations: 181.3 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.1348, allocations: 55.41 kB / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.135, allocations: 174.2 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1351, allocations: 33.7 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.1352, allocations: 96.14 kB / 0.4921 GB, free: 7.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.1352, allocations: 23.78 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.1353, allocations: 21.72 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1355, allocations: 322.8 kB / 0.4925 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.225e-05/0.1356, allocations: 23.98 kB / 0.4925 GB, free: 6.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1357, allocations: 41.64 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1358, allocations: 57.66 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1358, allocations: 0 / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002262/0.1361, allocations: 109.5 kB / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.1361, allocations: 8 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1361, allocations: 0 / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1361, allocations: 4.031 kB / 0.4927 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/0.1362, allocations: 15.98 kB / 0.4927 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.1363, allocations: 4 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.1363, allocations: 3.938 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1363, allocations: 4 kB / 0.4928 GB, free: 6.512 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 (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.0001092/0.1365, allocations: 129.8 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.1365, allocations: 7.953 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.1365, allocations: 12.72 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1366, allocations: 0 / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.1366, allocations: 11.94 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1366, allocations: 3.938 kB / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/0.1371, allocations: 387.3 kB / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1371, allocations: 0 / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.1372, allocations: 15.92 kB / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1372, allocations: 3.938 kB / 0.4933 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1372, allocations: 4 kB / 0.4933 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1372, allocations: 0 / 0.4933 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1372, allocations: 4.031 kB / 0.4933 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1375, allocations: 200.5 kB / 0.4935 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.1375, allocations: 85.06 kB / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.1376, allocations: 7.922 kB / 0.4936 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.1377, allocations: 4.375 kB / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.1377, allocations: 7.938 kB / 0.4936 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.1377, allocations: 11.98 kB / 0.4936 GB, free: 5.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1379, allocations: 131.9 kB / 0.4937 GB, free: 5.395 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1379, allocations: 0 / 0.4937 GB, free: 5.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1382, allocations: 20 kB / 0.4938 GB, free: 5.375 MB / 382.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.00168/0.1398, allocations: 1.102 MB / 0.4948 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.14, allocations: 59.91 kB / 0.4949 GB, free: 4.238 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1401, allocations: 0 / 0.4949 GB, free: 4.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.187e-05/0.1401, allocations: 35.98 kB / 0.4949 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1405, allocations: 43.19 kB / 0.495 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.1423, allocations: 1.608 MB / 0.4965 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1426, allocations: 0.7041 MB / 0.4972 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.783e-05/0.1427, allocations: 13.19 kB / 0.4972 GB, free: 1.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.844e-05/0.1427, allocations: 31.42 kB / 0.4973 GB, free: 1.688 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1428, allocations: 0 / 0.4973 GB, free: 1.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.1621, allocations: 3.29 MB / 0.5005 GB, free: 14.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.003, allocations: 11.97 kB / 0.5005 GB, free: 14.36 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_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_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches