Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",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.001414/0.001414, allocations: 105.9 kB / 16.4 MB, free: 5.961 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.001341/0.001341, allocations: 195.7 kB / 17.34 MB, free: 5.566 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.508/1.508, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2232/0.2232, allocations: 43.52 MB / 314.1 MB, free: 456 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.0021/0.0021, allocations: 71.91 kB / 441.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1281, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003464/0.1317, allocations: 1.693 MB / 0.4891 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1333, allocations: 0.7999 MB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.176e-05/0.1334, allocations: 4 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.1337, allocations: 47.75 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.134, allocations: 51.77 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1342, allocations: 95.69 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1344, allocations: 91.7 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1345, allocations: 8.219 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.913e-05/0.1346, allocations: 51.77 kB / 0.4902 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.084e-05/0.1347, allocations: 27.86 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1348, allocations: 4 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.464e-05/0.1349, allocations: 35.98 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.1349, allocations: 31.91 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.135, allocations: 31.75 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1352, allocations: 123.4 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1352, allocations: 0 / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1352, allocations: 0 / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1352, allocations: 0 / 0.4905 GB, free: 9.102 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.0006087/0.1359, allocations: 422.7 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1359, allocations: 15.89 kB / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.136, allocations: 38.73 kB / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.136, allocations: 8.891 kB / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.1363, allocations: 216.8 kB / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1363, allocations: 8.359 kB / 0.4912 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.1364, allocations: 3.938 kB / 0.4912 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1365, allocations: 57.61 kB / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1366, allocations: 4 kB / 0.4912 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1366, allocations: 0 / 0.4912 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1366, allocations: 4 kB / 0.4912 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.034e-05/0.1367, allocations: 15.98 kB / 0.4912 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.137, allocations: 284.9 kB / 0.4915 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1372, allocations: 62.61 kB / 0.4916 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.1373, allocations: 20.86 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1373, allocations: 0 / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.1375, allocations: 67.38 kB / 0.4917 GB, free: 7.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1375, allocations: 4 kB / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005582/0.1381, allocations: 181.3 kB / 0.4918 GB, free: 7.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1381, allocations: 51.41 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.1384, allocations: 199.3 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1384, allocations: 29.7 kB / 0.4921 GB, free: 7.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.1385, allocations: 112 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.1385, allocations: 27.78 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.1386, allocations: 21.72 kB / 0.4923 GB, free: 7.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1387, allocations: 326.8 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.484e-05/0.1388, allocations: 15.98 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.1388, allocations: 49.62 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.139, allocations: 57.78 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.139, allocations: 0 / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.1392, allocations: 105.5 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1392, allocations: 4 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1392, allocations: 0 / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1392, allocations: 0 / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.268e-05/0.1393, allocations: 24.39 kB / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1393, allocations: 4 kB / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.1394, allocations: 3.938 kB / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1394, allocations: 8 kB / 0.4928 GB, free: 6.453 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.0001136/0.1395, allocations: 137.7 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.1395, allocations: 7.953 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.1396, allocations: 13.41 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1396, allocations: 4 kB / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1396, allocations: 0 / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1396, allocations: 7.938 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004608/0.1401, allocations: 399.3 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1401, allocations: 0 / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.1401, allocations: 8 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1401, allocations: 3.938 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1402, allocations: 0 / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.1402, allocations: 4 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1402, allocations: 0 / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.1404, allocations: 204.3 kB / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.1405, allocations: 93 kB / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.1405, allocations: 3.938 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.1406, allocations: 4 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.1407, allocations: 11.92 kB / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.1407, allocations: 4 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.1409, allocations: 156.9 kB / 0.4938 GB, free: 5.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1409, allocations: 192 / 0.4938 GB, free: 5.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1411, allocations: 16 kB / 0.4939 GB, free: 5.285 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.00216/0.1433, allocations: 1.106 MB / 0.4949 GB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.1435, allocations: 51.98 kB / 0.495 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1435, allocations: 0 / 0.495 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.1436, allocations: 31.92 kB / 0.495 GB, free: 4.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.144, allocations: 36.02 kB / 0.4951 GB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.1459, allocations: 1.658 MB / 0.4967 GB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1463, allocations: 0.708 MB / 0.4974 GB, free: 1.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.274e-05/0.1463, allocations: 16.89 kB / 0.4974 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.1464, allocations: 39.41 kB / 0.4974 GB, free: 1.535 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1464, allocations: 0 / 0.4974 GB, free: 1.535 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.1724, allocations: 3.419 MB / 0.5008 GB, free: 14.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.148, allocations: 4.219 kB / 0.5008 GB, free: 14.09 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_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_Test42.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches