Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.001575/0.001575, allocations: 114 kB / 17.33 MB, free: 6.012 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.001832/0.001832, allocations: 193.3 kB / 18.25 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 222.9 MB / 241.9 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2755/0.2755, allocations: 44.16 MB / 336.2 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001599, allocations: 68.52 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1497, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003631/0.1534, allocations: 1.765 MB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1549, allocations: 0.8808 MB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.13e-05/0.155, allocations: 4 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.1554, allocations: 27.91 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.1556, allocations: 43.83 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.156, allocations: 99.77 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.1562, allocations: 95.7 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1563, allocations: 20.2 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.306e-05/0.1564, allocations: 43.78 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.1565, allocations: 43.77 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1565, allocations: 4 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.1567, allocations: 59.98 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.1567, allocations: 15.92 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.986e-05/0.1568, allocations: 35.78 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.157, allocations: 127.9 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1571, allocations: 4 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1571, allocations: 0 / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1571, allocations: 0 / 472.1 MB, free: 11.34 MB / 350.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.0005194/0.1576, allocations: 415 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1576, allocations: 8.031 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.136e-05/0.1577, allocations: 38.75 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.1577, allocations: 12.83 kB / 472.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.158, allocations: 199.1 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.158, allocations: 8.375 kB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.158, allocations: 7.922 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.1582, allocations: 67.39 kB / 472.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1582, allocations: 3.938 kB / 472.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1583, allocations: 0 / 472.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1583, allocations: 0 / 472.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.1584, allocations: 23.98 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.1587, allocations: 276.8 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.1589, allocations: 74.55 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.162e-05/0.159, allocations: 24.97 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.159, allocations: 0 / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.1593, allocations: 75.3 kB / 473.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.1593, allocations: 0 / 473.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006055/0.1599, allocations: 201.2 kB / 473.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.16, allocations: 77.11 kB / 473.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1601, allocations: 159.4 kB / 473.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1602, allocations: 33.7 kB / 473.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.1602, allocations: 96.11 kB / 473.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.1603, allocations: 31.56 kB / 473.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.1603, allocations: 37.64 kB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1604, allocations: 322.8 kB / 474.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.249e-05/0.1605, allocations: 23.98 kB / 474.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.548e-05/0.1606, allocations: 53.56 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1607, allocations: 81.58 kB / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1608, allocations: 0 / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000229/0.161, allocations: 129.5 kB / 474.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.161, allocations: 4 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.161, allocations: 0 / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.161, allocations: 3.938 kB / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1611, allocations: 23.98 kB / 474.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1612, allocations: 3.938 kB / 474.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.263e-05/0.1612, allocations: 8 kB / 474.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1612, allocations: 0 / 474.6 MB, free: 8.609 MB / 350.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 9.869e-05/0.1613, allocations: 125.9 kB / 474.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.1614, allocations: 11.81 kB / 474.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.1614, allocations: 16.7 kB / 474.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1614, allocations: 7.938 kB / 474.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1614, allocations: 4 kB / 474.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1615, allocations: 3.984 kB / 474.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.1619, allocations: 423.1 kB / 475.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.162, allocations: 0 / 475.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.162, allocations: 12 kB / 475.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.162, allocations: 0 / 475.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.162, allocations: 8 kB / 475.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.162, allocations: 0 / 475.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.162, allocations: 0 / 475.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.1623, allocations: 232.3 kB / 475.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.1624, allocations: 88.92 kB / 475.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.1624, allocations: 0 / 475.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.1625, allocations: 7.984 kB / 475.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.1625, allocations: 11.94 kB / 475.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.1626, allocations: 4 kB / 475.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1627, allocations: 117.3 kB / 475.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1627, allocations: 0 / 475.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.163, allocations: 35.98 kB / 475.6 MB, free: 7.414 MB / 350.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.001693/0.1647, allocations: 1.157 MB / 476.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.1649, allocations: 75.91 kB / 476.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1649, allocations: 4.062 kB / 476.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.031e-05/0.165, allocations: 39.92 kB / 476.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.1654, allocations: 39.75 kB / 477 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.1672, allocations: 1.641 MB / 478.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1675, allocations: 0.7077 MB / 479.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.565e-05/0.1676, allocations: 28.7 kB / 479.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.1676, allocations: 39.36 kB / 479.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1676, allocations: 0 / 479.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.1828, allocations: 3.596 MB / 483 MB, free: 272 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.1831, allocations: 252.3 kB / 483.2 MB, free: 12 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.126, allocations: 0 / 483.2 MB, free: 12 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches