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.001043/0.001043, allocations: 99.56 kB / 17 MB, free: 6.535 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.001338/0.001338, allocations: 186.2 kB / 17.89 MB, free: 5.945 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.523/1.523, allocations: 223.3 MB / 241.9 MB, free: 304 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.2276/0.2276, allocations: 44.25 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003516, allocations: 11.94 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1246, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002243/0.1269, allocations: 1.266 MB / 472.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.1278, allocations: 395.6 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.1279, allocations: 4 kB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.1282, allocations: 19.91 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1284, allocations: 23.92 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.1288, allocations: 95.81 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1289, allocations: 51.84 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1291, allocations: 16.17 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.297e-05/0.1291, allocations: 23.86 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.1292, allocations: 15.92 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.1293, allocations: 4 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1294, allocations: 47.91 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.1295, allocations: 7.984 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.1295, allocations: 41.58 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1297, allocations: 60.19 kB / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1297, allocations: 0 / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1297, allocations: 0 / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.1297, allocations: 0 / 473.7 MB, free: 11.6 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.0006293/0.1303, allocations: 387.1 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.1304, allocations: 8.562 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.1305, allocations: 4 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.1307, allocations: 190.4 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1308, allocations: 0 / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.1308, allocations: 7.938 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.131, allocations: 67.36 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1311, allocations: 0 / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.1311, allocations: 4 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1311, allocations: 0 / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.1312, allocations: 27.97 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/0.1318, allocations: 296.8 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.132, allocations: 46.56 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.39e-05/0.1321, allocations: 28.94 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.1321, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/0.1322, allocations: 34.56 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1322, allocations: 0 / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007926/0.133, allocations: 201.5 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.1331, allocations: 81.11 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1333, allocations: 137.8 kB / 475.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.1333, allocations: 25.7 kB / 475.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.1334, allocations: 88.14 kB / 475.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.1334, allocations: 23.64 kB / 475.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.1334, allocations: 4 kB / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1336, allocations: 326.7 kB / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.1337, allocations: 39.92 kB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.299e-05/0.1338, allocations: 45.69 kB / 475.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.287e-05/0.1339, allocations: 35.98 kB / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1339, allocations: 0 / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002133/0.1341, allocations: 117.6 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1341, allocations: 8 kB / 475.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1342, allocations: 0 / 475.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1342, allocations: 0 / 475.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1343, allocations: 23.92 kB / 475.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1343, allocations: 4 kB / 475.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.198e-05/0.1343, allocations: 7.984 kB / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.1344, allocations: 8 kB / 475.9 MB, free: 9.133 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.601e-05/0.1345, allocations: 121.7 kB / 476 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.1345, allocations: 11.89 kB / 476 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.1348, allocations: 126 kB / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1348, allocations: 0 / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1348, allocations: 0 / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1348, allocations: 0 / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.1352, allocations: 402.7 kB / 476.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1353, allocations: 0 / 476.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.1353, allocations: 19.92 kB / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1353, allocations: 0 / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1354, allocations: 4 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1354, allocations: 0 / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1354, allocations: 0 / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.1357, allocations: 211.4 kB / 476.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.1357, allocations: 89.02 kB / 476.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.1358, allocations: 0 / 476.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.181e-05/0.1358, allocations: 7.984 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.1359, allocations: 8 kB / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.1359, allocations: 8 kB / 476.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.596e-05/0.136, allocations: 103.2 kB / 477 MB, free: 7.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.136, allocations: 0 / 477 MB, free: 7.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.1363, allocations: 28 kB / 477 MB, free: 7.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001241/0.1375, allocations: 452.9 kB / 477.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.1378, allocations: 71.95 kB / 477.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1378, allocations: 0 / 477.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.297e-05/0.1379, allocations: 51.91 kB / 477.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.1382, allocations: 18.17 kB / 477.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.1386, allocations: 193.5 kB / 477.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1389, allocations: 0.7004 MB / 478.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.715e-05/0.139, allocations: 20.95 kB / 478.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.139, allocations: 19.42 kB / 478.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.139, allocations: 0 / 478.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of Templates: time 0.004158/0.1432, allocations: 1.469 MB / 480 MB, free: 5.051 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