Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",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.001245/0.001245, allocations: 109.4 kB / 17.21 MB, free: 6.273 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.001185/0.001185, allocations: 194 kB / 18.12 MB, free: 5.363 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.457/1.457, allocations: 222.9 MB / 241.8 MB, free: 15.34 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.2188/0.2188, allocations: 44.17 MB / 336.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 64.5 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1583, allocations: 60.83 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004933/0.1634, allocations: 1.753 MB / 470.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.1654, allocations: 0.8614 MB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1655, allocations: 7.938 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004006/0.1659, allocations: 39.89 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.1663, allocations: 39.83 kB / 471.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.1668, allocations: 95.77 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.167, allocations: 91.69 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.1672, allocations: 8.234 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1673, allocations: 35.8 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1675, allocations: 39.83 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.1675, allocations: 0 / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.1677, allocations: 43.98 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.1678, allocations: 19.86 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.584e-05/0.1679, allocations: 31.73 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.1681, allocations: 107.9 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.1682, allocations: 0 / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1682, allocations: 0 / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1682, allocations: 0 / 471.8 MB, free: 11.52 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.0007674/0.169, allocations: 419 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.169, allocations: 15.97 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.365e-05/0.1691, allocations: 34.75 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.1692, allocations: 12.75 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.1695, allocations: 208 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1695, allocations: 4.312 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.1695, allocations: 7.938 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.1697, allocations: 57.66 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1698, allocations: 0 / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1698, allocations: 0 / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1698, allocations: 4 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.699e-05/0.1699, allocations: 23.98 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.1704, allocations: 284.8 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.1707, allocations: 54.67 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.839e-05/0.1707, allocations: 20.86 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.1708, allocations: 7.984 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/0.1711, allocations: 63.39 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.937e-06/0.1711, allocations: 0 / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006814/0.1718, allocations: 173.2 kB / 473.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.1718, allocations: 59.39 kB / 473.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.172, allocations: 190.1 kB / 473.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1721, allocations: 29.7 kB / 473.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.1721, allocations: 104.1 kB / 473.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1722, allocations: 23.7 kB / 473.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.1722, allocations: 21.72 kB / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.1725, allocations: 326.8 kB / 473.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.047e-05/0.1725, allocations: 19.98 kB / 473.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/0.1726, allocations: 34.08 kB / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.1729, allocations: 61.78 kB / 474 MB, free: 9.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.1729, allocations: 4 kB / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000218/0.1731, allocations: 109.4 kB / 474.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1731, allocations: 4 kB / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1731, allocations: 0 / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.1732, allocations: 4 kB / 474.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1733, allocations: 19.94 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1733, allocations: 8.016 kB / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.331e-05/0.1734, allocations: 7.938 kB / 474.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1734, allocations: 192 / 474.2 MB, free: 8.91 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 (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.0001159/0.1735, allocations: 125.8 kB / 474.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.1735, allocations: 15.83 kB / 474.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.231e-05/0.1736, allocations: 12.72 kB / 474.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1736, allocations: 7.938 kB / 474.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1736, allocations: 0 / 474.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1736, allocations: 3.938 kB / 474.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.1742, allocations: 387.3 kB / 474.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1742, allocations: 0 / 474.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.1742, allocations: 11.98 kB / 474.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.1742, allocations: 7.938 kB / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.1743, allocations: 0 / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1743, allocations: 0 / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1743, allocations: 0 / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.1745, allocations: 212.2 kB / 474.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.1746, allocations: 85.02 kB / 475 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.1746, allocations: 11.92 kB / 475 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.1747, allocations: 0 / 475 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.1748, allocations: 4 kB / 475 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.1748, allocations: 11.98 kB / 475 MB, free: 7.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.1749, allocations: 139.2 kB / 475.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1749, allocations: 4 kB / 475.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1752, allocations: 27.98 kB / 475.2 MB, free: 7.754 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 (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.001726/0.177, allocations: 1.097 MB / 476.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.1772, allocations: 67.89 kB / 476.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1772, allocations: 0 / 476.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.1773, allocations: 23.94 kB / 476.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1777, allocations: 45.91 kB / 476.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.1797, allocations: 1.64 MB / 478.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.1801, allocations: 0.7004 MB / 478.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.002e-05/0.1802, allocations: 16.88 kB / 478.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.1803, allocations: 35.42 kB / 478.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of SimCode: time 2.454e-06/0.1803, allocations: 0 / 478.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.196, allocations: 3.134 MB / 482 MB, free: 1.137 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.1963, allocations: 240.2 kB / 482.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.155, allocations: 0 / 482.2 MB, free: 0.8828 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches