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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 104.2 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.001092/0.001092, allocations: 191.9 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.424/1.424, allocations: 222.9 MB / 242.2 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.2023/0.2023, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001199, allocations: 62.5 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.115, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003498/0.1186, allocations: 1.7 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1201, allocations: 0.9041 MB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1202, allocations: 3.938 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.1206, allocations: 31.84 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.1209, allocations: 59.69 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.1213, allocations: 106.9 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.1215, allocations: 103.7 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1217, allocations: 12.23 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1218, allocations: 39.8 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.056e-05/0.1219, allocations: 35.83 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.1219, allocations: 8 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.1221, allocations: 63.97 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.1222, allocations: 23.86 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.1222, allocations: 31.8 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.1226, allocations: 127.9 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1226, allocations: 0 / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1226, allocations: 0 / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1226, allocations: 0 / 472.5 MB, free: 11.11 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.0006597/0.1233, allocations: 407.1 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.1233, allocations: 12.03 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/0.1234, allocations: 8.844 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.1237, allocations: 214.9 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1237, allocations: 4.375 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1238, allocations: 4.125 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.124, allocations: 67.39 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.1241, allocations: 0 / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.1241, allocations: 0 / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.1241, allocations: 7.984 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1243, allocations: 27.98 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.1248, allocations: 272.8 kB / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.125, allocations: 66.61 kB / 473.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.356e-05/0.1251, allocations: 24.97 kB / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.1252, allocations: 4 kB / 473.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003114/0.1255, allocations: 79.31 kB / 473.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.1255, allocations: 0 / 473.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006911/0.1262, allocations: 201.1 kB / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.1263, allocations: 77.11 kB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.1265, allocations: 159.8 kB / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1265, allocations: 37.7 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.1266, allocations: 96.12 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.1266, allocations: 27.66 kB / 474.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/0.1267, allocations: 37.64 kB / 474.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1269, allocations: 322.8 kB / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/0.127, allocations: 27.98 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.536e-05/0.1271, allocations: 50.56 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.1273, allocations: 89.53 kB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1273, allocations: 0 / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002232/0.1275, allocations: 121.5 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1275, allocations: 4 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1275, allocations: 0 / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1276, allocations: 0 / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1277, allocations: 27.92 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1277, allocations: 0 / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/0.1278, allocations: 12.03 kB / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.1278, allocations: 0 / 474.9 MB, free: 8.422 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.0001261/0.1279, allocations: 125.8 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.1279, allocations: 15.8 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.128, allocations: 12.72 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.128, allocations: 7.938 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.128, allocations: 0 / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.128, allocations: 0 / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.1286, allocations: 419.2 kB / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1286, allocations: 4 kB / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.1286, allocations: 19.88 kB / 475.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1287, allocations: 0 / 475.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1287, allocations: 4 kB / 475.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1287, allocations: 0 / 475.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1287, allocations: 0 / 475.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.129, allocations: 224.2 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.129, allocations: 89.11 kB / 475.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.129, allocations: 4 kB / 475.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.1291, allocations: 11.92 kB / 475.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.1292, allocations: 8 kB / 475.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1292, allocations: 4 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.088e-05/0.1293, allocations: 120.8 kB / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1293, allocations: 0 / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.1296, allocations: 39.98 kB / 476 MB, free: 7.227 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.001275/0.1309, allocations: 0.4953 MB / 476.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.1312, allocations: 91.77 kB / 476.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1312, allocations: 4 kB / 476.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.694e-05/0.1313, allocations: 39.98 kB / 476.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.1317, allocations: 27.73 kB / 476.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.1322, allocations: 203.2 kB / 476.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.1324, allocations: 0.7039 MB / 477.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.335e-05/0.1325, allocations: 16.64 kB / 477.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.1326, allocations: 27.42 kB / 477.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1326, allocations: 0 / 477.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of Templates: time 0.005301/0.1379, allocations: 2.114 MB / 479.7 MB, free: 3.672 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/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