Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002264/0.002264, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2384/0.2384, allocations: 46.92 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 63.89 kB / 0.491 GB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1479, allocations: 65.99 MB / 0.5555 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003694/0.1516, allocations: 1.743 MB / 0.5572 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.1536, allocations: 1.06 MB / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.1537, allocations: 0 / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.154, allocations: 31.78 kB / 0.5582 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.1543, allocations: 99.53 kB / 0.5583 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.1546, allocations: 79.72 kB / 0.5584 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.1548, allocations: 107.6 kB / 0.5585 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1549, allocations: 15.97 kB / 0.5585 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.155, allocations: 47.78 kB / 0.5586 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.892e-05/0.1551, allocations: 47.7 kB / 0.5586 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.1551, allocations: 4 kB / 0.5586 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.1553, allocations: 123.9 kB / 0.5587 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.1554, allocations: 15.92 kB / 0.5587 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.1554, allocations: 35.73 kB / 0.5588 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.1557, allocations: 175.4 kB / 0.5589 GB, free: 2.188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1557, allocations: 0 / 0.5589 GB, free: 2.188 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1557, allocations: 4 kB / 0.5589 GB, free: 2.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1558, allocations: 0 / 0.5589 GB, free: 2.184 MB / 414.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.0007026/0.1565, allocations: 438.5 kB / 0.5594 GB, free: 1.707 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1565, allocations: 8.031 kB / 0.5594 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.276e-05/0.1566, allocations: 34.75 kB / 0.5594 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.1566, allocations: 16.89 kB / 0.5594 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.157, allocations: 212.1 kB / 0.5596 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.157, allocations: 384 / 0.5596 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.157, allocations: 7.938 kB / 0.5596 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.1572, allocations: 71.38 kB / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1572, allocations: 0 / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1572, allocations: 4 kB / 0.5597 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1572, allocations: 4 kB / 0.5597 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.572e-05/0.1573, allocations: 23.92 kB / 0.5597 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.1577, allocations: 276.9 kB / 0.56 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.1579, allocations: 62.61 kB / 0.5601 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.224e-05/0.158, allocations: 20.98 kB / 0.5601 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.158, allocations: 4 kB / 0.5601 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.1582, allocations: 83.3 kB / 0.5602 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.1582, allocations: 0 / 0.5602 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006399/0.1588, allocations: 201.7 kB / 0.5603 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.1589, allocations: 85.03 kB / 0.5604 GB, free: 468 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.1591, allocations: 177.7 kB / 0.5606 GB, free: 280 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1592, allocations: 33.64 kB / 0.5606 GB, free: 240 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.1592, allocations: 96.14 kB / 0.5607 GB, free: 140 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.1593, allocations: 31.73 kB / 0.5608 GB, free: 108 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.1593, allocations: 37.7 kB / 0.5608 GB, free: 64 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1595, allocations: 318.8 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.143e-05/0.1596, allocations: 27.98 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.287e-05/0.1597, allocations: 54.5 kB / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.1599, allocations: 77.73 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1599, allocations: 0 / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002615/0.1601, allocations: 125.4 kB / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1601, allocations: 11.98 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1602, allocations: 0 / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1602, allocations: 0 / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1603, allocations: 20 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.1603, allocations: 8.031 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.854e-05/0.1604, allocations: 11.98 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1604, allocations: 4 kB / 0.5614 GB, free: 15.39 MB / 430.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 (13): * Single equations (assignments): 13 * 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.0001227/0.1605, allocations: 121.8 kB / 0.5615 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.1605, allocations: 11.91 kB / 0.5615 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.227e-05/0.1606, allocations: 20.7 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1606, allocations: 4 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.1606, allocations: 3.938 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1606, allocations: 0 / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/0.1612, allocations: 431.2 kB / 0.562 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1612, allocations: 3.938 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.1612, allocations: 11.98 kB / 0.562 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.1612, allocations: 7.984 kB / 0.562 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1612, allocations: 4 kB / 0.562 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1612, allocations: 0 / 0.562 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1612, allocations: 4 kB / 0.562 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.1615, allocations: 220.3 kB / 0.5622 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.1616, allocations: 89 kB / 0.5623 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.1616, allocations: 8 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.1617, allocations: 0 / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.1617, allocations: 7.984 kB / 0.5623 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.1617, allocations: 4 kB / 0.5623 GB, free: 14.35 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1619, allocations: 134.3 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1619, allocations: 0 / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003337/0.1622, allocations: 55.81 kB / 0.5625 GB, free: 14.16 MB / 430.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 (10): * Single equations (assignments): 8 * 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.002552/0.1648, allocations: 1.208 MB / 0.5637 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.165, allocations: 75.78 kB / 0.5638 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.165, allocations: 0 / 0.5638 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.082e-05/0.1651, allocations: 35.92 kB / 0.5638 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.1655, allocations: 43.05 kB / 0.5638 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.1675, allocations: 1.66 MB / 0.5655 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1678, allocations: 0.7006 MB / 0.5661 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.272e-05/0.1679, allocations: 24.42 kB / 0.5662 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.168, allocations: 43.41 kB / 0.5662 GB, free: 10.45 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.168, allocations: 0 / 0.5662 GB, free: 10.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.1959, allocations: 4.266 MB / 0.5704 GB, free: 6.191 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.114, allocations: 7.938 kB / 0.5704 GB, free: 6.184 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.392243456997676]