Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 110.8 kB / 17.33 MB, free: 6.023 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.001083/0.001083, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.357/1.357, allocations: 222.9 MB / 241.9 MB, free: 13.71 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.2069/0.2069, allocations: 44.18 MB / 336.2 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.45 kB / 407.9 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1196, allocations: 60.84 MB / 468.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003208/0.1228, allocations: 1.637 MB / 470.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007743/0.1236, allocations: 415.3 kB / 470.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.1237, allocations: 0 / 470.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.1241, allocations: 123.7 kB / 470.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.1243, allocations: 83.77 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.1246, allocations: 99.77 kB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.1248, allocations: 83.84 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1249, allocations: 12.19 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.125, allocations: 63.75 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1252, allocations: 79.8 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1252, allocations: 0 / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-05/0.1253, allocations: 43.98 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.11e-05/0.1254, allocations: 27.91 kB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.1254, allocations: 35.69 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.1257, allocations: 112 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1257, allocations: 3.938 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1257, allocations: 0 / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1257, allocations: 4 kB / 471.5 MB, free: 11.87 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.0005572/0.1263, allocations: 426.8 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1263, allocations: 8.031 kB / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.1264, allocations: 12.78 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.1266, allocations: 211.9 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.1266, allocations: 384 / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1266, allocations: 8.375 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1268, allocations: 53.61 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1268, allocations: 4 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1268, allocations: 4 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1268, allocations: 3.984 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.1269, allocations: 27.92 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.1273, allocations: 320.6 kB / 472.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.1274, allocations: 42.56 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.1275, allocations: 20.94 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1275, allocations: 4 kB / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1276, allocations: 30.56 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1276, allocations: 3.938 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008779/0.1285, allocations: 237 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.1285, allocations: 55.34 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.1288, allocations: 274.2 kB / 473.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1288, allocations: 29.7 kB / 473.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.1289, allocations: 112 kB / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.1289, allocations: 27.64 kB / 473.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1289, allocations: 21.72 kB / 473.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1291, allocations: 330.8 kB / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.1292, allocations: 31.97 kB / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.1293, allocations: 28.05 kB / 473.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.1294, allocations: 72.81 kB / 473.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1294, allocations: 0 / 473.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002335/0.1297, allocations: 121.4 kB / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1297, allocations: 4 kB / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1297, allocations: 0 / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1297, allocations: 4 kB / 474 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1298, allocations: 16.41 kB / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1299, allocations: 3.938 kB / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.1299, allocations: 8 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1299, allocations: 4 kB / 474 MB, free: 9.137 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 0.0001205/0.13, allocations: 138.4 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.1301, allocations: 15.8 kB / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.1304, allocations: 135.3 kB / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1304, allocations: 7.984 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1304, allocations: 3.938 kB / 474.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1304, allocations: 0 / 474.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/0.131, allocations: 427.3 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.131, allocations: 0 / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.1311, allocations: 19.92 kB / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1311, allocations: 4 kB / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.1311, allocations: 0 / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1311, allocations: 0 / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1311, allocations: 3.984 kB / 474.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.1314, allocations: 224.1 kB / 475 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.1314, allocations: 92.86 kB / 475.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1314, allocations: 3.938 kB / 475.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.1315, allocations: 15.92 kB / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.1316, allocations: 4 kB / 475.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.1316, allocations: 4 kB / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001564/0.1317, allocations: 203.2 kB / 475.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1318, allocations: 4 kB / 475.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.132, allocations: 20 kB / 475.3 MB, free: 7.73 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.001006/0.133, allocations: 451.4 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1333, allocations: 75.94 kB / 475.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1333, allocations: 0 / 475.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.099e-05/0.1334, allocations: 43.91 kB / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1338, allocations: 27.23 kB / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.1343, allocations: 343.4 kB / 476.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1347, allocations: 0.7197 MB / 477 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.24e-05/0.1347, allocations: 24.95 kB / 477 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.1348, allocations: 15.38 kB / 477 MB, free: 6.168 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1348, allocations: 0 / 477 MB, free: 6.168 MB / 350.1 MB Notification: Performance of Templates: time 0.004671/0.1395, allocations: 1.359 MB / 478.4 MB, free: 4.816 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches