Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",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.001342/0.001342, allocations: 108 kB / 16.41 MB, free: 6.484 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.001249/0.001249, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.41/1.41, 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.218/0.218, allocations: 43.53 MB / 314.1 MB, free: 468 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.002026/0.002026, allocations: 71.89 kB / 441.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1245, allocations: 57.79 MB / 499.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003122/0.1276, allocations: 1.701 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.129, allocations: 0.7922 MB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.492e-05/0.1291, allocations: 4 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.1294, allocations: 39.77 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1296, allocations: 59.75 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.1299, allocations: 95.64 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1301, allocations: 95.69 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.1302, allocations: 12.22 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.63e-05/0.1302, allocations: 47.77 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.359e-05/0.1303, allocations: 23.86 kB / 0.4903 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1304, allocations: 4 kB / 0.4903 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.1305, allocations: 43.97 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.1305, allocations: 23.92 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.1306, allocations: 35.73 kB / 0.4904 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.1308, allocations: 123.4 kB / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1308, allocations: 0 / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1308, allocations: 0 / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1308, allocations: 0 / 0.4905 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005527/0.1314, allocations: 410.8 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1314, allocations: 11.89 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.1315, allocations: 38.75 kB / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.1315, allocations: 16.84 kB / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.1318, allocations: 216 kB / 0.4911 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.986e-06/0.1318, allocations: 384 / 0.4911 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.1318, allocations: 7.938 kB / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.132, allocations: 57.61 kB / 0.4912 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.132, allocations: 0 / 0.4912 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.132, allocations: 0 / 0.4912 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.132, allocations: 0 / 0.4912 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.489e-05/0.1321, allocations: 23.98 kB / 0.4912 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.1325, allocations: 284.9 kB / 0.4915 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.1327, allocations: 58.61 kB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.1327, allocations: 20.84 kB / 0.4916 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.1328, allocations: 0 / 0.4916 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.1329, allocations: 75.34 kB / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1329, allocations: 0 / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005385/0.1335, allocations: 169.4 kB / 0.4918 GB, free: 7.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1335, allocations: 55.39 kB / 0.4919 GB, free: 7.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.1337, allocations: 186.2 kB / 0.492 GB, free: 7.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.1337, allocations: 29.64 kB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.1338, allocations: 100.1 kB / 0.4922 GB, free: 7.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.1338, allocations: 35.77 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.1339, allocations: 21.72 kB / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.134, allocations: 326.8 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.762e-05/0.1341, allocations: 19.92 kB / 0.4926 GB, free: 6.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.898e-05/0.1342, allocations: 38.08 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.1343, allocations: 57.78 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1343, allocations: 4 kB / 0.4927 GB, free: 6.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001896/0.1345, allocations: 109.5 kB / 0.4928 GB, free: 6.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1345, allocations: 4 kB / 0.4928 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1345, allocations: 0 / 0.4928 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1346, allocations: 0 / 0.4928 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.1347, allocations: 20 kB / 0.4928 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1347, allocations: 3.984 kB / 0.4928 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1347, allocations: 3.938 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1347, allocations: 4 kB / 0.4928 GB, free: 6.539 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.000124/0.1349, allocations: 133.8 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.1349, allocations: 19.88 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.1349, allocations: 12.72 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.135, allocations: 0 / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.135, allocations: 0 / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.135, allocations: 3.938 kB / 0.493 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.1354, allocations: 395.3 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1354, allocations: 4.031 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.1355, allocations: 11.98 kB / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1355, allocations: 3.938 kB / 0.4933 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1355, allocations: 4 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1355, allocations: 0 / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1355, allocations: 0 / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.1358, allocations: 200.3 kB / 0.4935 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.1358, allocations: 97 kB / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1359, allocations: 7.922 kB / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.1359, allocations: 4 kB / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.136, allocations: 4 kB / 0.4937 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.136, allocations: 7.984 kB / 0.4937 GB, free: 5.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1361, allocations: 144.2 kB / 0.4938 GB, free: 5.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1361, allocations: 0 / 0.4938 GB, free: 5.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1364, allocations: 31.86 kB / 0.4938 GB, free: 5.367 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.002103/0.1385, allocations: 1.098 MB / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.1387, allocations: 59.97 kB / 0.495 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1387, allocations: 0 / 0.495 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.679e-05/0.1388, allocations: 23.94 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.1392, allocations: 43.25 kB / 0.495 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.1409, allocations: 1.634 MB / 0.4966 GB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.1413, allocations: 0.708 MB / 0.4973 GB, free: 1.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.911e-05/0.1413, allocations: 13.19 kB / 0.4973 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.1414, allocations: 31.42 kB / 0.4973 GB, free: 1.664 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1414, allocations: 4 kB / 0.4974 GB, free: 1.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.166, allocations: 3.352 MB / 0.5006 GB, free: 14.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.044, allocations: 11.97 kB / 0.5006 GB, free: 14.27 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_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_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches