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.001544/0.001544, allocations: 104 kB / 17.63 MB, free: 5.523 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.001771/0.001772, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.367/1.367, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2174/0.2174, allocations: 44.18 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001745, allocations: 66.97 kB / 408.6 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1357, allocations: 60.81 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003637/0.1394, allocations: 1.708 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1411, allocations: 0.9003 MB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.1412, allocations: 0 / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.1416, allocations: 35.77 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.1419, allocations: 51.75 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.1423, allocations: 118.7 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.1426, allocations: 107.6 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1427, allocations: 4.234 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1428, allocations: 47.78 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1429, allocations: 39.78 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.143, allocations: 4 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.1432, allocations: 63.97 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.1432, allocations: 15.92 kB / 472.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.1433, allocations: 35.78 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.1436, allocations: 123.9 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.1437, allocations: 7.984 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1437, allocations: 0 / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1437, allocations: 0 / 472.6 MB, free: 11.02 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.0006784/0.1444, allocations: 411 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1444, allocations: 8.031 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.1445, allocations: 38.73 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.1445, allocations: 12.84 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.1448, allocations: 200.2 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1448, allocations: 384 / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.1449, allocations: 7.938 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.145, allocations: 67.39 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1451, allocations: 7.938 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1451, allocations: 0 / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1451, allocations: 0 / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.974e-05/0.1452, allocations: 19.98 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.1456, allocations: 276.8 kB / 473.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1458, allocations: 74.55 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.1459, allocations: 24.97 kB / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1459, allocations: 4 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.1461, allocations: 79.27 kB / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.1461, allocations: 0 / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000624/0.1468, allocations: 189.3 kB / 474 MB, free: 9.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.1468, allocations: 85.11 kB / 474.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.147, allocations: 159.8 kB / 474.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.147, allocations: 29.7 kB / 474.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.1472, allocations: 96.12 kB / 474.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.1472, allocations: 35.48 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.1473, allocations: 33.7 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.1475, allocations: 318.8 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.1476, allocations: 28.08 kB / 474.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.1478, allocations: 58.5 kB / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.148, allocations: 81.62 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.148, allocations: 0 / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003425/0.1483, allocations: 121.5 kB / 475 MB, free: 8.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.1484, allocations: 8 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1484, allocations: 0 / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1484, allocations: 8 kB / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1485, allocations: 23.92 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.1485, allocations: 4 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/0.1486, allocations: 4 kB / 475.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1486, allocations: 4 kB / 475.1 MB, free: 8.289 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 0.0001139/0.1487, allocations: 125.8 kB / 475.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.1488, allocations: 15.8 kB / 475.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.1488, allocations: 12.72 kB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001383/0.149, allocations: 3.938 kB / 475.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.149, allocations: 4 kB / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.149, allocations: 4 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.1496, allocations: 419.1 kB / 475.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1496, allocations: 0 / 475.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.1496, allocations: 12 kB / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1496, allocations: 0 / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1496, allocations: 8.031 kB / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1497, allocations: 4 kB / 475.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1497, allocations: 3.984 kB / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.1499, allocations: 216.2 kB / 475.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.15, allocations: 84.92 kB / 476 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.15, allocations: 4 kB / 476 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.1501, allocations: 3.984 kB / 476 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.1502, allocations: 16.12 kB / 476 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1502, allocations: 7.984 kB / 476 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1503, allocations: 120.7 kB / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1503, allocations: 0 / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.1506, allocations: 35.98 kB / 476.2 MB, free: 7.102 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.001715/0.1523, allocations: 1.16 MB / 477.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.1526, allocations: 79.91 kB / 477.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1526, allocations: 0 / 477.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.47e-05/0.1527, allocations: 39.92 kB / 477.4 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.1531, allocations: 35.19 kB / 477.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.1549, allocations: 1.613 MB / 479.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1552, allocations: 0.7077 MB / 479.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.532e-05/0.1553, allocations: 16.64 kB / 479.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.1554, allocations: 39.36 kB / 479.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1554, allocations: 0 / 479.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.1775, allocations: 3.685 MB / 483.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.835/8.012, allocations: 19.16 kB / 483.5 MB, free: 15.86 MB / 366.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