Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,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.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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.CombiTable1Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.0009934/0.0009934, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.322/1.322, allocations: 222.9 MB / 243 MB, free: 15.15 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.2008/0.2008, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.98 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1176, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.00316/0.1208, allocations: 1.569 MB / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007684/0.1216, allocations: 423.2 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.1216, allocations: 0 / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.1219, allocations: 79.77 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.1221, allocations: 63.73 kB / 472.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.1224, allocations: 107.7 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.1226, allocations: 71.83 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1227, allocations: 24.16 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.766e-05/0.1228, allocations: 35.84 kB / 473.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1229, allocations: 47.89 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.1229, allocations: 4 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-05/0.123, allocations: 39.98 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.1231, allocations: 19.92 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.1231, allocations: 39.73 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.1233, allocations: 99.64 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1233, allocations: 0 / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1233, allocations: 4 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1233, allocations: 0 / 473.3 MB, free: 11.01 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.0004847/0.1238, allocations: 403 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1238, allocations: 12.03 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.1239, allocations: 8.844 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1241, allocations: 200.1 kB / 473.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.1241, allocations: 384 / 473.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.1241, allocations: 8.375 kB / 473.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1243, allocations: 61.55 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1243, allocations: 3.906 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1243, allocations: 3.984 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1243, allocations: 0 / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.183e-05/0.1244, allocations: 23.98 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.1249, allocations: 308.8 kB / 474.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.125, allocations: 42.5 kB / 474.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.1251, allocations: 20.94 kB / 474.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.1251, allocations: 0 / 474.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1252, allocations: 34.56 kB / 474.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1252, allocations: 0 / 474.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008744/0.126, allocations: 237 kB / 474.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.1261, allocations: 59.34 kB / 474.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.1263, allocations: 214.1 kB / 474.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1263, allocations: 25.7 kB / 474.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.1264, allocations: 108 kB / 475 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.1264, allocations: 23.66 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.1265, allocations: 21.7 kB / 475.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1266, allocations: 322.8 kB / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.1267, allocations: 35.86 kB / 475.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.1268, allocations: 35.97 kB / 475.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.1269, allocations: 76.89 kB / 475.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1269, allocations: 0 / 475.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002093/0.1272, allocations: 109.5 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1272, allocations: 4 kB / 475.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1272, allocations: 0 / 475.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1272, allocations: 4 kB / 475.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1273, allocations: 23.92 kB / 475.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1273, allocations: 3.938 kB / 475.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.1274, allocations: 11.98 kB / 475.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1274, allocations: 4 kB / 475.7 MB, free: 8.383 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.262e-05/0.1275, allocations: 129.8 kB / 475.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.1275, allocations: 7.906 kB / 475.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.1278, allocations: 122.4 kB / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1278, allocations: 0 / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.1279, allocations: 3.938 kB / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1279, allocations: 0 / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.1284, allocations: 427.5 kB / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1284, allocations: 0 / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.637e-05/0.1285, allocations: 19.92 kB / 476.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1285, allocations: 4 kB / 476.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1285, allocations: 0 / 476.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1285, allocations: 0 / 476.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1285, allocations: 80 / 476.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.1288, allocations: 220.2 kB / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.1288, allocations: 93.36 kB / 476.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.1289, allocations: 8 kB / 476.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.1289, allocations: 0 / 476.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.129, allocations: 7.984 kB / 476.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.129, allocations: 8 kB / 476.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1291, allocations: 155.2 kB / 476.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1291, allocations: 0 / 476.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1294, allocations: 20 kB / 476.9 MB, free: 7.07 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.001066/0.1305, allocations: 466.9 kB / 477.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.1307, allocations: 75.89 kB / 477.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1307, allocations: 0 / 477.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.264e-05/0.1308, allocations: 43.95 kB / 477.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1312, allocations: 31.92 kB / 477.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.1317, allocations: 251.1 kB / 477.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1321, allocations: 0.7119 MB / 478.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.728e-05/0.1322, allocations: 20.95 kB / 478.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.1322, allocations: 11.44 kB / 478.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1322, allocations: 4 kB / 478.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of Templates: time 0.004229/0.1364, allocations: 1.348 MB / 479.8 MB, free: 4.25 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches