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.001117/0.001118, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001175/0.001175, allocations: 187 kB / 19.33 MB, free: 3.641 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.396/1.396, allocations: 222.9 MB / 243 MB, free: 15.08 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.2268/0.2268, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 68.23 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1047, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003178/0.1079, allocations: 1.578 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007459/0.1087, allocations: 435.1 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.1088, allocations: 4 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.109, allocations: 19.8 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.1092, allocations: 35.84 kB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.1095, allocations: 114.7 kB / 472.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1096, allocations: 55.91 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.728e-05/0.1097, allocations: 20.16 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.524e-05/0.1098, allocations: 27.86 kB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.996e-05/0.1099, allocations: 23.86 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.1099, allocations: 3.938 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.11, allocations: 51.97 kB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.047e-05/0.11, allocations: 11.98 kB / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.1101, allocations: 19.88 kB / 473.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1103, allocations: 95.7 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1103, allocations: 4 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1103, allocations: 4 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1103, allocations: 0 / 473.2 MB, free: 11.16 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.0004348/0.1107, allocations: 379.2 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.1108, allocations: 8.031 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.1108, allocations: 8.844 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.111, allocations: 188.2 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.711e-06/0.111, allocations: 384 / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.111, allocations: 8.375 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1112, allocations: 67.33 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1112, allocations: 0 / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1112, allocations: 0 / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.1112, allocations: 4 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.262e-05/0.1113, allocations: 31.91 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.1117, allocations: 284.9 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1118, allocations: 54.55 kB / 474.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.1119, allocations: 20.95 kB / 474.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1119, allocations: 7.922 kB / 474.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1119, allocations: 38.5 kB / 474.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.112, allocations: 0 / 474.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005446/0.1125, allocations: 177.2 kB / 474.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.1126, allocations: 77.11 kB / 474.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1127, allocations: 137.8 kB / 474.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.1127, allocations: 29.7 kB / 474.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.1128, allocations: 92.12 kB / 474.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.1128, allocations: 23.66 kB / 474.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.1128, allocations: 33.64 kB / 474.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.113, allocations: 318.8 kB / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.936e-05/0.113, allocations: 31.95 kB / 475.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.152e-05/0.1131, allocations: 45.69 kB / 475.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1133, allocations: 64.83 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1133, allocations: 0 / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002038/0.1135, allocations: 113.5 kB / 475.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1135, allocations: 8 kB / 475.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1135, allocations: 0 / 475.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1136, allocations: 4 kB / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.006e-05/0.1136, allocations: 19.98 kB / 475.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1137, allocations: 4 kB / 475.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.846e-05/0.1137, allocations: 0 / 475.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1137, allocations: 7.938 kB / 475.4 MB, free: 8.672 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 7.336e-05/0.1138, allocations: 121.8 kB / 475.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.1138, allocations: 7.906 kB / 475.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.1141, allocations: 118.2 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1141, allocations: 4 kB / 475.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1141, allocations: 0 / 475.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1141, allocations: 0 / 475.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.1146, allocations: 390.3 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1146, allocations: 0 / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.1147, allocations: 12 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1147, allocations: 4 kB / 476.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1147, allocations: 7.938 kB / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1147, allocations: 0 / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1147, allocations: 3.984 kB / 476.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.115, allocations: 207.3 kB / 476.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.115, allocations: 81.02 kB / 476.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.115, allocations: 3.938 kB / 476.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.1151, allocations: 4 kB / 476.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.1152, allocations: 11.98 kB / 476.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1152, allocations: 0 / 476.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.152e-05/0.1153, allocations: 104.8 kB / 476.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1153, allocations: 0 / 476.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1155, allocations: 35.98 kB / 476.5 MB, free: 7.473 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.001044/0.1166, allocations: 443.5 kB / 477 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.1168, allocations: 75.89 kB / 477 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.1169, allocations: 0 / 477 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.182e-05/0.1169, allocations: 39.91 kB / 477.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.1173, allocations: 18.16 kB / 477.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.1176, allocations: 178.4 kB / 477.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.1179, allocations: 0.6963 MB / 478 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.95e-05/0.118, allocations: 24.62 kB / 478 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.118, allocations: 19.36 kB / 478 MB, free: 6.109 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.118, allocations: 0 / 478 MB, free: 6.109 MB / 350.1 MB Notification: Performance of Templates: time 0.003856/0.1219, allocations: 1.55 MB / 479.5 MB, free: 4.566 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/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