Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 112.8 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 193.2 kB / 21.44 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 249.8 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2581/0.2581, allocations: 44.91 MB / 349.6 MB, free: 1.719 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.44 kB / 491.9 MB, free: 29.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1693, allocations: 64.26 MB / 0.5431 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00365/0.173, allocations: 1.706 MB / 0.5448 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.1745, allocations: 0.8963 MB / 0.5456 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.505e-05/0.1746, allocations: 0 / 0.5456 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.1749, allocations: 39.75 kB / 0.5457 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.1751, allocations: 51.77 kB / 0.5457 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.1754, allocations: 107.6 kB / 0.5458 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1756, allocations: 99.7 kB / 0.5459 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1757, allocations: 12.5 kB / 0.5459 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.1758, allocations: 43.78 kB / 0.546 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.711e-05/0.1759, allocations: 27.84 kB / 0.546 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1759, allocations: 4 kB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.176, allocations: 51.91 kB / 0.5461 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.1761, allocations: 23.88 kB / 0.5461 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.1761, allocations: 35.73 kB / 0.5461 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1763, allocations: 111.5 kB / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1763, allocations: 0 / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1763, allocations: 4 kB / 0.5462 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1763, allocations: 0 / 0.5462 GB, free: 0.7852 MB / 398.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.0006086/0.1769, allocations: 414.7 kB / 0.5466 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.177, allocations: 8.031 kB / 0.5466 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.604e-05/0.177, allocations: 46.62 kB / 0.5467 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.1771, allocations: 8.891 kB / 0.5467 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.1774, allocations: 208.2 kB / 0.5469 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1774, allocations: 384 / 0.5469 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1774, allocations: 7.938 kB / 0.5469 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1776, allocations: 57.67 kB / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1776, allocations: 0 / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1776, allocations: 0 / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1776, allocations: 0 / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.1777, allocations: 27.92 kB / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.1781, allocations: 284.8 kB / 0.5472 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.1783, allocations: 54.61 kB / 0.5473 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.1784, allocations: 16.92 kB / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1784, allocations: 4 kB / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.1785, allocations: 67.33 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1785, allocations: 0 / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005668/0.1791, allocations: 177.3 kB / 0.5475 GB, free: 15.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.1791, allocations: 59.41 kB / 0.5476 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1793, allocations: 186.1 kB / 0.5478 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1794, allocations: 29.7 kB / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.1794, allocations: 100.1 kB / 0.5479 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.1795, allocations: 27.78 kB / 0.5479 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.1795, allocations: 25.7 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1797, allocations: 322.8 kB / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.937e-05/0.1797, allocations: 24 kB / 0.5483 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.878e-05/0.1798, allocations: 33.7 kB / 0.5483 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1799, allocations: 61.64 kB / 0.5484 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1799, allocations: 4 kB / 0.5484 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000184/0.1801, allocations: 93.78 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1801, allocations: 7.984 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1801, allocations: 12.34 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1802, allocations: 0 / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.706e-05/0.1802, allocations: 15.94 kB / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1803, allocations: 4 kB / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.1803, allocations: 15.88 kB / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1803, allocations: 7.984 kB / 0.5485 GB, free: 14.17 MB / 414.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.0001041/0.1804, allocations: 117.8 kB / 0.5486 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.1804, allocations: 11.91 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.1805, allocations: 16.7 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1805, allocations: 8 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1805, allocations: 0 / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.1805, allocations: 3.938 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005744/0.1811, allocations: 387.3 kB / 0.549 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1811, allocations: 0 / 0.549 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.1811, allocations: 8 kB / 0.5491 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.1811, allocations: 7.938 kB / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.1811, allocations: 11.92 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1811, allocations: 4.031 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1811, allocations: 4 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.1814, allocations: 192.6 kB / 0.5493 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.1815, allocations: 93 kB / 0.5494 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.1815, allocations: 11.94 kB / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.1816, allocations: 3.984 kB / 0.5494 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.1816, allocations: 8 kB / 0.5494 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1816, allocations: 4 kB / 0.5494 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1818, allocations: 148 kB / 0.5495 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1818, allocations: 0 / 0.5495 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.182, allocations: 16 kB / 0.5495 GB, free: 13.03 MB / 414.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.002144/0.1842, allocations: 1.103 MB / 0.5506 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.1843, allocations: 51.92 kB / 0.5507 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1843, allocations: 8.062 kB / 0.5507 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.124e-05/0.1844, allocations: 23.92 kB / 0.5507 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1848, allocations: 31.97 kB / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.1867, allocations: 1.628 MB / 0.5523 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.1871, allocations: 0.7158 MB / 0.553 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.121e-05/0.1871, allocations: 13.19 kB / 0.553 GB, free: 9.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.77e-05/0.1872, allocations: 31.42 kB / 0.5531 GB, free: 9.477 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1872, allocations: 0 / 0.5531 GB, free: 9.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.2133, allocations: 3.396 MB / 0.5564 GB, free: 6.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.209, allocations: 19.92 kB / 0.5564 GB, free: 6.098 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.314031267073005]