Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_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.006108/0.006109, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001156/0.001156, allocations: 195.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3814/0.3814, allocations: 43.49 MB / 313.5 MB, free: 8.492 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 67.91 kB / 382.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1303, allocations: 57.79 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003635/0.134, allocations: 1.753 MB / 441.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1355, allocations: 0.8157 MB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1356, allocations: 7.938 kB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.136, allocations: 35.89 kB / 442.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.1362, allocations: 47.83 kB / 442.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.1366, allocations: 71.86 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1368, allocations: 99.67 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1369, allocations: 20.16 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.703e-05/0.137, allocations: 31.86 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.122e-05/0.1371, allocations: 43.77 kB / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.1371, allocations: 0 / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.1373, allocations: 59.97 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.1374, allocations: 19.86 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.1374, allocations: 27.8 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.1377, allocations: 120 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1377, allocations: 4 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1377, allocations: 0 / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1377, allocations: 0 / 443.1 MB, free: 11.57 MB / 382.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.0006573/0.1384, allocations: 415 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1384, allocations: 12.03 kB / 443.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.138e-05/0.1385, allocations: 34.75 kB / 443.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.1386, allocations: 12.84 kB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.1388, allocations: 212 kB / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1389, allocations: 384 / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.1389, allocations: 15.94 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1391, allocations: 71.38 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1391, allocations: 3.984 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1391, allocations: 0 / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1391, allocations: 0 / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1392, allocations: 27.98 kB / 443.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.1397, allocations: 288.7 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1399, allocations: 66.55 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.1399, allocations: 20.97 kB / 444.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.14, allocations: 0 / 444.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.1402, allocations: 75.39 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.1402, allocations: 3.938 kB / 444.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006466/0.1409, allocations: 181.2 kB / 444.5 MB, free: 9.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.666e-05/0.141, allocations: 81.11 kB / 444.6 MB, free: 9.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1411, allocations: 153.8 kB / 444.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1412, allocations: 25.7 kB / 444.7 MB, free: 9.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.1412, allocations: 104 kB / 444.8 MB, free: 9.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.1413, allocations: 23.66 kB / 444.9 MB, free: 9.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.1413, allocations: 25.7 kB / 444.9 MB, free: 9.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1415, allocations: 322.8 kB / 445.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.1415, allocations: 20 kB / 445.2 MB, free: 9.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.728e-05/0.1416, allocations: 46.5 kB / 445.3 MB, free: 9.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1418, allocations: 65.64 kB / 445.3 MB, free: 9.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1418, allocations: 0 / 445.3 MB, free: 9.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002112/0.142, allocations: 105.6 kB / 445.4 MB, free: 8.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.142, allocations: 12 kB / 445.4 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.142, allocations: 0 / 445.4 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.142, allocations: 0 / 445.4 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1422, allocations: 19.98 kB / 445.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1422, allocations: 0 / 445.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.1422, allocations: 11.94 kB / 445.5 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.1423, allocations: 3.938 kB / 445.5 MB, free: 8.895 MB / 382.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.0001217/0.1424, allocations: 117.8 kB / 445.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.1424, allocations: 15.89 kB / 445.6 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.1427, allocations: 114.5 kB / 445.7 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.1427, allocations: 7.984 kB / 445.7 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.1428, allocations: 3.984 kB / 445.7 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1428, allocations: 3.938 kB / 445.7 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000554/0.1433, allocations: 403.2 kB / 446.1 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1433, allocations: 0 / 446.1 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.1434, allocations: 15.97 kB / 446.2 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.1434, allocations: 11.94 kB / 446.2 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1434, allocations: 0 / 446.2 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1434, allocations: 0 / 446.2 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1434, allocations: 0 / 446.2 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.1438, allocations: 208.2 kB / 446.4 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.1438, allocations: 85.02 kB / 446.4 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.1439, allocations: 11.94 kB / 446.5 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.1439, allocations: 4 kB / 446.5 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.144, allocations: 7.984 kB / 446.5 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.144, allocations: 4 kB / 446.5 MB, free: 7.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.1441, allocations: 118.5 kB / 446.6 MB, free: 7.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.773e-06/0.1441, allocations: 0 / 446.6 MB, free: 7.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003149/0.1445, allocations: 43.92 kB / 446.6 MB, free: 7.633 MB / 382.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.001747/0.1462, allocations: 1.149 MB / 447.8 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.1464, allocations: 59.92 kB / 447.8 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1464, allocations: 0 / 447.8 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.724e-05/0.1465, allocations: 31.98 kB / 447.9 MB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1469, allocations: 32.09 kB / 447.9 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1487, allocations: 1.587 MB / 449.5 MB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.149, allocations: 0.7005 MB / 450.2 MB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.717e-05/0.1491, allocations: 25.16 kB / 450.2 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.1492, allocations: 31.42 kB / 450.2 MB, free: 3.914 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1492, allocations: 3.938 kB / 450.3 MB, free: 3.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.1642, allocations: 3.404 MB / 453.7 MB, free: 492 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/0.1645, allocations: 248.3 kB / 453.9 MB, free: 232 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/1.923, allocations: 0 / 453.9 MB, free: 232 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches