Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007743/0.0007744, allocations: 94.72 kB / 17.35 MB, free: 6.344 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.0008421/0.0008422, allocations: 170.5 kB / 18.25 MB, free: 5.508 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.448/1.448, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2054/0.2054, allocations: 44.26 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003737, allocations: 13.16 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1272, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.001808/0.129, allocations: 1.274 MB / 473.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007684/0.1298, allocations: 419.3 kB / 473.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.1299, allocations: 0 / 473.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.1301, allocations: 19.91 kB / 474 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.1302, allocations: 39.84 kB / 474 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.1305, allocations: 99.19 kB / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.1306, allocations: 55.84 kB / 474.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1307, allocations: 12.19 kB / 474.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.409e-05/0.1308, allocations: 19.84 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.1308, allocations: 23.86 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1309, allocations: 8 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.131, allocations: 47.98 kB / 474.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.131, allocations: 11.91 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.1311, allocations: 41.58 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.1312, allocations: 92.03 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1312, allocations: 4 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1313, allocations: 0 / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1313, allocations: 0 / 474.4 MB, free: 11.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004316/0.1317, allocations: 375.2 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1317, allocations: 20.02 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.1318, allocations: 4.938 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.132, allocations: 188.2 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.525e-06/0.132, allocations: 384 / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.132, allocations: 4.281 kB / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.1322, allocations: 71.33 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1322, allocations: 0 / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1322, allocations: 4 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1322, allocations: 0 / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.396e-05/0.1323, allocations: 31.92 kB / 475.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.1327, allocations: 288.9 kB / 475.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1329, allocations: 58.53 kB / 475.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.1329, allocations: 24.94 kB / 475.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.133, allocations: 7.938 kB / 475.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.133, allocations: 30.56 kB / 475.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.133, allocations: 0 / 475.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006376/0.1336, allocations: 201.3 kB / 475.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1337, allocations: 77.11 kB / 475.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.1338, allocations: 148.5 kB / 475.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1339, allocations: 25.7 kB / 475.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.1339, allocations: 92.14 kB / 476 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.134, allocations: 23.64 kB / 476 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.134, allocations: 13.72 kB / 476.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1341, allocations: 318.8 kB / 476.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.023e-05/0.1342, allocations: 35.97 kB / 476.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.154e-05/0.1343, allocations: 49.69 kB / 476.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.1345, allocations: 80.81 kB / 476.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1345, allocations: 4.031 kB / 476.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002244/0.1347, allocations: 117.5 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1347, allocations: 8 kB / 476.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1348, allocations: 0 / 476.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.1348, allocations: 3.938 kB / 476.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1349, allocations: 23.98 kB / 476.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1349, allocations: 4 kB / 476.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.1349, allocations: 4 kB / 476.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.135, allocations: 7.938 kB / 476.7 MB, free: 8.637 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.456e-05/0.1351, allocations: 118.4 kB / 476.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.1351, allocations: 7.906 kB / 476.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.1354, allocations: 130.2 kB / 477 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1354, allocations: 0 / 477 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1354, allocations: 0 / 477 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1354, allocations: 4 kB / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.1359, allocations: 394.4 kB / 477.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1359, allocations: 0 / 477.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.677e-05/0.136, allocations: 23.94 kB / 477.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.136, allocations: 3.984 kB / 477.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.136, allocations: 3.938 kB / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.136, allocations: 0 / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.136, allocations: 0 / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.1363, allocations: 207.4 kB / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.1364, allocations: 81.02 kB / 477.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.1364, allocations: 15.92 kB / 477.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.1365, allocations: 4 kB / 477.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.1365, allocations: 11.98 kB / 477.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.1365, allocations: 0 / 477.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.4e-05/0.1366, allocations: 103.3 kB / 477.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1366, allocations: 0 / 477.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1369, allocations: 24 kB / 477.8 MB, free: 7.422 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001097/0.138, allocations: 451.4 kB / 478.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.1383, allocations: 75.89 kB / 478.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1383, allocations: 0 / 478.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.566e-05/0.1384, allocations: 40.12 kB / 478.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1387, allocations: 22.39 kB / 478.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.1391, allocations: 205.2 kB / 478.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.1394, allocations: 0.6965 MB / 479.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.321e-05/0.1395, allocations: 16.66 kB / 479.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.1395, allocations: 19.36 kB / 479.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1395, allocations: 0 / 479.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of Templates: time 0.0043/0.1438, allocations: 1.494 MB / 480.8 MB, free: 4.543 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches