Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001969/0.001969, allocations: 121 kB / 18.5 MB, free: 4.562 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.003115/0.003115, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.511/1.511, allocations: 230.6 MB / 254.8 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.2427/0.2427, allocations: 46.91 MB / 357.8 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.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 59.91 kB / 0.4917 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1621, allocations: 65.99 MB / 0.5561 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003444/0.1655, allocations: 1.741 MB / 0.5578 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.1683, allocations: 1.645 MB / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.257e-05/0.1684, allocations: 0 / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.1687, allocations: 39.77 kB / 0.5595 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.169, allocations: 107.5 kB / 0.5596 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.1692, allocations: 67.69 kB / 0.5597 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.1694, allocations: 119.7 kB / 0.5598 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1695, allocations: 12 kB / 0.5598 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.886e-05/0.1696, allocations: 51.77 kB / 0.5598 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.1698, allocations: 47.77 kB / 0.5599 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1698, allocations: 4 kB / 0.5599 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.17, allocations: 107.9 kB / 0.56 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.1701, allocations: 35.78 kB / 0.56 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.1702, allocations: 35.8 kB / 0.56 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.1705, allocations: 179.4 kB / 0.5602 GB, free: 1.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1705, allocations: 0 / 0.5602 GB, free: 1.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1705, allocations: 3.938 kB / 0.5602 GB, free: 1.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1705, allocations: 0 / 0.5602 GB, free: 1.574 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007246/0.1712, allocations: 438.5 kB / 0.5606 GB, free: 1.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1713, allocations: 12.03 kB / 0.5607 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.69e-05/0.1713, allocations: 4.125 kB / 0.5607 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.1713, allocations: 34.75 kB / 0.5607 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.861e-05/0.1714, allocations: 12.89 kB / 0.5607 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.1718, allocations: 220.1 kB / 0.5609 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1718, allocations: 4.125 kB / 0.5609 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.1718, allocations: 4 kB / 0.5609 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.172, allocations: 75.38 kB / 0.561 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.172, allocations: 15.88 kB / 0.561 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.172, allocations: 4 kB / 0.561 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.172, allocations: 3.938 kB / 0.561 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.852e-05/0.1721, allocations: 23.98 kB / 0.561 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.1726, allocations: 304.8 kB / 0.5613 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1728, allocations: 66.67 kB / 0.5614 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.822e-05/0.1729, allocations: 24.8 kB / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1729, allocations: 4 kB / 0.5614 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.1731, allocations: 75.38 kB / 0.5615 GB, free: 96 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1731, allocations: 0 / 0.5615 GB, free: 96 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006772/0.1737, allocations: 197.3 kB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.189e-05/0.1738, allocations: 77.11 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.174, allocations: 168.4 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.1741, allocations: 41.69 kB / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.1742, allocations: 100.2 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.1742, allocations: 27.8 kB / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.1742, allocations: 21.72 kB / 0.5621 GB, free: 15.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1744, allocations: 326.8 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/0.1745, allocations: 23.98 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1746, allocations: 50.5 kB / 0.5625 GB, free: 15.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1748, allocations: 69.7 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1748, allocations: 0 / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002508/0.175, allocations: 113.6 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.175, allocations: 5.812 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.175, allocations: 7.938 kB / 0.5627 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.175, allocations: 3.938 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.1752, allocations: 27.92 kB / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.078e-06/0.1752, allocations: 8 kB / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/0.1752, allocations: 3.938 kB / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1752, allocations: 4 kB / 0.5627 GB, free: 14.76 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 (11): * Single equations (assignments): 11 * 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.0001378/0.1754, allocations: 122.7 kB / 0.5628 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.1754, allocations: 11.94 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.1755, allocations: 16.72 kB / 0.5629 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1755, allocations: 0 / 0.5629 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.1755, allocations: 7.938 kB / 0.5629 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1755, allocations: 0 / 0.5629 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.1761, allocations: 423.2 kB / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1761, allocations: 0 / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.1761, allocations: 15.92 kB / 0.5633 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.1761, allocations: 7.938 kB / 0.5633 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1761, allocations: 0 / 0.5633 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1761, allocations: 0 / 0.5633 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.1761, allocations: 4 kB / 0.5633 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.1765, allocations: 216.3 kB / 0.5635 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.1765, allocations: 89 kB / 0.5636 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.1766, allocations: 4 kB / 0.5636 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.1767, allocations: 0 / 0.5636 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.1767, allocations: 11.98 kB / 0.5636 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.1767, allocations: 4 kB / 0.5636 GB, free: 13.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1768, allocations: 131.2 kB / 0.5637 GB, free: 13.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1768, allocations: 4 kB / 0.5637 GB, free: 13.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.1772, allocations: 51.86 kB / 0.5638 GB, free: 13.56 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 (9): * Single equations (assignments): 7 * 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.00268/0.1799, allocations: 1.206 MB / 0.565 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.1801, allocations: 67.91 kB / 0.565 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1801, allocations: 0 / 0.565 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/0.1802, allocations: 27.92 kB / 0.5651 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.1806, allocations: 27.98 kB / 0.5651 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.1829, allocations: 1.66 MB / 0.5667 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.1833, allocations: 0.7006 MB / 0.5674 GB, free: 9.941 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.1834, allocations: 40.53 kB / 0.5674 GB, free: 9.902 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.062e-05/0.1835, allocations: 35.8 kB / 0.5675 GB, free: 9.867 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1835, allocations: 0 / 0.5675 GB, free: 9.867 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.2063, allocations: 4.257 MB / 0.5716 GB, free: 5.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.431/8.638, allocations: 7.938 kB / 0.5716 GB, free: 5.609 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.9312521800166]