Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 104.4 kB / 17.98 MB, free: 5.367 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.001284/0.001284, allocations: 189.4 kB / 18.9 MB, free: 4.449 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.327/1.327, allocations: 222.9 MB / 242.6 MB, free: 15.35 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.2156/0.2156, allocations: 44.17 MB / 336.9 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.84 kB / 408.5 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1142, allocations: 60.83 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003413/0.1177, allocations: 1.641 MB / 471 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000826/0.1185, allocations: 399.3 kB / 471.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.396e-05/0.1186, allocations: 4 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.119, allocations: 87.81 kB / 471.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.1193, allocations: 67.73 kB / 471.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.1196, allocations: 79.83 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.1198, allocations: 71.89 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1199, allocations: 20.17 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.233e-05/0.12, allocations: 35.84 kB / 471.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1201, allocations: 51.88 kB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1202, allocations: 7.875 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1203, allocations: 43.98 kB / 471.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.685e-05/0.1203, allocations: 23.86 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.1204, allocations: 35.73 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1206, allocations: 72.19 kB / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1206, allocations: 4 kB / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1206, allocations: 0 / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1206, allocations: 0 / 472 MB, free: 12.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005016/0.1211, allocations: 410.9 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1212, allocations: 12.03 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.1212, allocations: 8.844 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1214, allocations: 212.7 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-06/0.1214, allocations: 384 / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.1215, allocations: 8.375 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1217, allocations: 57.61 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1217, allocations: 0 / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1217, allocations: 0 / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1217, allocations: 7.984 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.458e-05/0.1218, allocations: 23.98 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.1222, allocations: 304.6 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1224, allocations: 42.56 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.1224, allocations: 20.94 kB / 473.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.1225, allocations: 0 / 473.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.1225, allocations: 30.56 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1225, allocations: 0 / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008817/0.1234, allocations: 221 kB / 473.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.1234, allocations: 55.34 kB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.1236, allocations: 236.6 kB / 473.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.1237, allocations: 25.7 kB / 473.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.1237, allocations: 108.1 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.1238, allocations: 23.7 kB / 473.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1238, allocations: 21.72 kB / 473.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.124, allocations: 322.8 kB / 474.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.123e-05/0.124, allocations: 27.97 kB / 474.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.1241, allocations: 23.98 kB / 474.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.1243, allocations: 64.89 kB / 474.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1243, allocations: 4 kB / 474.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000202/0.1245, allocations: 105.6 kB / 474.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1245, allocations: 4 kB / 474.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1245, allocations: 4 kB / 474.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1245, allocations: 0 / 474.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.1246, allocations: 15.98 kB / 474.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1247, allocations: 7.875 kB / 474.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.1247, allocations: 7.938 kB / 474.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1247, allocations: 7.984 kB / 474.4 MB, free: 9.469 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.395e-05/0.1248, allocations: 130.4 kB / 474.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.1249, allocations: 11.81 kB / 474.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.1251, allocations: 115 kB / 474.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1251, allocations: 8 kB / 474.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1252, allocations: 3.938 kB / 474.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1252, allocations: 3.938 kB / 474.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.1257, allocations: 407.3 kB / 475 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1257, allocations: 0 / 475 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.1257, allocations: 19.92 kB / 475.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1258, allocations: 4.422 kB / 475.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.1258, allocations: 0 / 475.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1258, allocations: 0 / 475.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1258, allocations: 0 / 475.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.126, allocations: 212.1 kB / 475.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.1261, allocations: 88.95 kB / 475.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.1261, allocations: 7.984 kB / 475.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.1262, allocations: 7.984 kB / 475.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.1262, allocations: 4 kB / 475.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.1262, allocations: 11.98 kB / 475.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.1264, allocations: 171.5 kB / 475.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1264, allocations: 0 / 475.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.1267, allocations: 20 kB / 475.6 MB, free: 8.16 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 (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.001015/0.1277, allocations: 453 kB / 476 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.1279, allocations: 75.86 kB / 476.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1279, allocations: 0 / 476.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.295e-05/0.128, allocations: 39.86 kB / 476.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.1284, allocations: 27.86 kB / 476.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.1289, allocations: 305.1 kB / 476.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.1292, allocations: 0.7196 MB / 477.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.1292, allocations: 15.44 kB / 477.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1292, allocations: 0 / 477.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of Templates: time 0.003267/0.1325, allocations: 1.724 MB / 478.9 MB, free: 4.941 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches