Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001112/0.001112, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.4/1.4, allocations: 222.9 MB / 243 MB, free: 15.14 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.2126/0.2126, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 69.47 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003301/0.114, allocations: 1.56 MB / 472.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007887/0.1149, allocations: 423.2 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.1149, allocations: 0 / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.1152, allocations: 23.86 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.1154, allocations: 35.78 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1156, allocations: 91.75 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.1158, allocations: 67.77 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1159, allocations: 8.188 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.899e-05/0.116, allocations: 31.91 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.26e-05/0.1161, allocations: 23.86 kB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1161, allocations: 4 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1162, allocations: 47.97 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.1162, allocations: 23.86 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.1163, allocations: 19.88 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.1165, allocations: 99.69 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1165, allocations: 4 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1165, allocations: 0 / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1165, allocations: 0 / 473.2 MB, free: 11.17 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.0004765/0.117, allocations: 387.2 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1171, allocations: 12.03 kB / 473.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.1171, allocations: 4.844 kB / 473.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.1173, allocations: 193.8 kB / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.1173, allocations: 4.375 kB / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.1173, allocations: 4.375 kB / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1175, allocations: 71.33 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1175, allocations: 4 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1176, allocations: 0 / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1176, allocations: 7.922 kB / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1177, allocations: 27.97 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.1181, allocations: 300.7 kB / 474.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1182, allocations: 50.56 kB / 474.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.1183, allocations: 28.97 kB / 474.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1183, allocations: 4 kB / 474.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1184, allocations: 34.56 kB / 474.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1184, allocations: 0 / 474.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006153/0.119, allocations: 185.2 kB / 474.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.1191, allocations: 81.11 kB / 474.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.1192, allocations: 142.1 kB / 474.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1193, allocations: 29.64 kB / 474.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.1193, allocations: 92.14 kB / 474.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.1194, allocations: 19.64 kB / 474.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.1194, allocations: 29.66 kB / 474.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1195, allocations: 326.8 kB / 475.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/0.1196, allocations: 31.97 kB / 475.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.468e-05/0.1197, allocations: 41.7 kB / 475.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1199, allocations: 72.81 kB / 475.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1199, allocations: 0 / 475.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002112/0.1201, allocations: 113.5 kB / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1201, allocations: 4 kB / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1201, allocations: 8.031 kB / 475.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1202, allocations: 0 / 475.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.1203, allocations: 23.92 kB / 475.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1203, allocations: 0 / 475.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.168e-05/0.1203, allocations: 4 kB / 475.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1204, allocations: 7.922 kB / 475.4 MB, free: 8.629 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 (9): * Single equations (assignments): 9 * 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 8.404e-05/0.1204, allocations: 117.8 kB / 475.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.1205, allocations: 7.906 kB / 475.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.1207, allocations: 122.2 kB / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1208, allocations: 0 / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1208, allocations: 384 / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1208, allocations: 4 kB / 475.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.1212, allocations: 390.7 kB / 476.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1213, allocations: 3.938 kB / 476.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.08e-05/0.1213, allocations: 27.92 kB / 476.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1214, allocations: 3.938 kB / 476.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1214, allocations: 7.938 kB / 476.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1214, allocations: 0 / 476.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1214, allocations: 4 kB / 476.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1216, allocations: 191.6 kB / 476.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.1217, allocations: 85.02 kB / 476.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1217, allocations: 11.92 kB / 476.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.1218, allocations: 8 kB / 476.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.1218, allocations: 7.984 kB / 476.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1218, allocations: 0 / 476.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.861e-05/0.1219, allocations: 113.5 kB / 476.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.942e-06/0.1219, allocations: 0 / 476.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1222, allocations: 31.92 kB / 476.6 MB, free: 7.41 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 (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 Backend phase and start with SimCode phase: time 0.001034/0.1233, allocations: 455.2 kB / 477 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.1235, allocations: 67.95 kB / 477.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1235, allocations: 0 / 477.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.106e-05/0.1236, allocations: 43.92 kB / 477.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1239, allocations: 15.98 kB / 477.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.1243, allocations: 181.9 kB / 477.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.1246, allocations: 0.6924 MB / 478 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.134e-05/0.1247, allocations: 24.8 kB / 478 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.1247, allocations: 19.42 kB / 478 MB, free: 6.039 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1247, allocations: 0 / 478 MB, free: 6.039 MB / 350.1 MB Notification: Performance of Templates: time 0.004435/0.1292, allocations: 1.582 MB / 479.6 MB, free: 4.465 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches