Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007676/0.0007679, allocations: 99.3 kB / 18.01 MB, free: 5.734 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.0008061/0.0008063, allocations: 183.2 kB / 18.91 MB, free: 4.871 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.315/1.315, allocations: 223.3 MB / 243 MB, free: 184 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.2164/0.2164, allocations: 44.25 MB / 338.3 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003076, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1161, allocations: 61.92 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.001893/0.118, allocations: 1.325 MB / 474.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007787/0.1188, allocations: 423.2 kB / 474.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.1189, allocations: 4 kB / 474.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003617/0.1192, allocations: 87.8 kB / 474.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.1194, allocations: 59.88 kB / 474.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1198, allocations: 106.6 kB / 474.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.12, allocations: 87.8 kB / 475 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1201, allocations: 28.2 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.44e-05/0.1202, allocations: 35.91 kB / 475.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1203, allocations: 55.81 kB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1203, allocations: 0 / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1205, allocations: 43.98 kB / 475.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.625e-05/0.1205, allocations: 27.86 kB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.1206, allocations: 57.38 kB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1208, allocations: 95.73 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1208, allocations: 0 / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1208, allocations: 0 / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1208, allocations: 0 / 475.3 MB, free: 10.89 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006251/0.1215, allocations: 411.1 kB / 475.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.1215, allocations: 12.03 kB / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.1216, allocations: 12.75 kB / 475.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.1218, allocations: 212 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1218, allocations: 4.375 kB / 476 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.1219, allocations: 4.375 kB / 476 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.1221, allocations: 81.72 kB / 476 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1221, allocations: 4 kB / 476.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.1221, allocations: 8 kB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1221, allocations: 0 / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.1223, allocations: 43.97 kB / 476.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.1228, allocations: 348.6 kB / 476.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1229, allocations: 66.55 kB / 476.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.419e-05/0.123, allocations: 25 kB / 476.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.123, allocations: 7.984 kB / 476.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1231, allocations: 30.56 kB / 476.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.695e-06/0.1231, allocations: 4 kB / 476.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001138/0.1242, allocations: 369.2 kB / 476.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.1243, allocations: 55.41 kB / 477 MB, free: 9.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1245, allocations: 231.2 kB / 477.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1245, allocations: 33.7 kB / 477.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.1246, allocations: 112 kB / 477.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.1247, allocations: 47.44 kB / 477.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.1247, allocations: 9.719 kB / 477.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1248, allocations: 326.8 kB / 477.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1249, allocations: 47.97 kB / 477.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1251, allocations: 54.97 kB / 477.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.1253, allocations: 112.8 kB / 477.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1253, allocations: 0 / 477.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002972/0.1256, allocations: 173.4 kB / 478.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1256, allocations: 11.98 kB / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1256, allocations: 0 / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1256, allocations: 3.938 kB / 478.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1258, allocations: 27.98 kB / 478.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1258, allocations: 0 / 478.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.1259, allocations: 8 kB / 478.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1259, allocations: 8 kB / 478.2 MB, free: 7.824 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 (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.0001186/0.126, allocations: 137.7 kB / 478.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.126, allocations: 15.81 kB / 478.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003886/0.1264, allocations: 191.1 kB / 478.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1264, allocations: 8 kB / 478.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1265, allocations: 0 / 478.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1265, allocations: 3.984 kB / 478.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006616/0.1271, allocations: 0.5068 MB / 479 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1271, allocations: 0 / 479 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.549e-05/0.1273, allocations: 31.92 kB / 479.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1273, allocations: 0 / 479.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1273, allocations: 8 kB / 479.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.1273, allocations: 0 / 479.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1273, allocations: 0 / 479.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.1277, allocations: 270.2 kB / 479.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.1277, allocations: 89 kB / 479.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.1277, allocations: 4 kB / 479.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/0.1278, allocations: 8 kB / 479.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.1279, allocations: 11.98 kB / 479.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.1279, allocations: 4 kB / 479.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.128, allocations: 175.2 kB / 479.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.128, allocations: 3.938 kB / 479.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1283, allocations: 28 kB / 479.6 MB, free: 6.242 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001047/0.1294, allocations: 449.3 kB / 480.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.1297, allocations: 123.8 kB / 480.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1297, allocations: 4 kB / 480.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.1298, allocations: 71.84 kB / 480.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1302, allocations: 15.98 kB / 480.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.1308, allocations: 396.6 kB / 480.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.1311, allocations: 0.7238 MB / 481.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.1312, allocations: 15.44 kB / 481.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1312, allocations: 0 / 481.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of Templates: time 0.003775/0.135, allocations: 2.077 MB / 483.5 MB, free: 2.508 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches