Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001154/0.001154, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00164/0.00164, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.11 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 77.8 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1131, allocations: 62.43 MB / 479.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003828/0.117, allocations: 1.68 MB / 481.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1181, allocations: 0.5379 MB / 482.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.1182, allocations: 4 kB / 482.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.1186, allocations: 87.69 kB / 482.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.1189, allocations: 79.8 kB / 482.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.1192, allocations: 107.6 kB / 482.4 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1194, allocations: 79.75 kB / 482.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.1195, allocations: 19.98 kB / 482.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.189e-05/0.1196, allocations: 31.91 kB / 482.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1197, allocations: 55.77 kB / 482.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1197, allocations: 4 kB / 482.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1198, allocations: 43.97 kB / 482.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.1199, allocations: 23.92 kB / 482.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.1199, allocations: 27.73 kB / 482.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1201, allocations: 83.83 kB / 482.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1201, allocations: 0 / 482.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1201, allocations: 4 kB / 482.8 MB, free: 2.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1201, allocations: 4 kB / 482.8 MB, free: 2.855 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.0005027/0.1206, allocations: 411.2 kB / 483.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1207, allocations: 8.875 kB / 483.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.1207, allocations: 8.844 kB / 483.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1209, allocations: 206.6 kB / 483.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.121, allocations: 4.375 kB / 483.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.121, allocations: 384 / 483.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1212, allocations: 61.81 kB / 483.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1212, allocations: 0 / 483.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1212, allocations: 3.984 kB / 483.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1212, allocations: 0 / 483.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.1213, allocations: 23.98 kB / 483.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.1218, allocations: 312.6 kB / 483.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.1219, allocations: 42.56 kB / 483.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.122, allocations: 20.94 kB / 483.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.122, allocations: 4 kB / 483.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.122, allocations: 34.5 kB / 483.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.122, allocations: 0 / 483.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009871/0.123, allocations: 245.4 kB / 484.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1231, allocations: 51.41 kB / 484.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.1233, allocations: 222.8 kB / 484.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1233, allocations: 29.7 kB / 484.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.1234, allocations: 100.1 kB / 484.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.1234, allocations: 31.56 kB / 484.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.1235, allocations: 21.7 kB / 484.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1236, allocations: 326.8 kB / 484.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.564e-05/0.1237, allocations: 23.98 kB / 484.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.632e-05/0.1238, allocations: 40.03 kB / 485 MB, free: 464 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.1239, allocations: 72.77 kB / 485 MB, free: 388 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1239, allocations: 4 kB / 485 MB, free: 384 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002278/0.1242, allocations: 117.5 kB / 485.2 MB, free: 260 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1242, allocations: 4 kB / 485.2 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1242, allocations: 3.984 kB / 485.2 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1242, allocations: 0 / 485.2 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1243, allocations: 16.05 kB / 485.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1243, allocations: 0 / 485.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.1244, allocations: 15.91 kB / 485.2 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.1244, allocations: 0 / 485.2 MB, free: 220 kB / 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.0001056/0.1245, allocations: 133.8 kB / 485.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.1246, allocations: 15.81 kB / 485.3 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.1249, allocations: 130.9 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.1249, allocations: 7.984 kB / 485.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1249, allocations: 0 / 485.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1249, allocations: 3.938 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.1255, allocations: 423.3 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1255, allocations: 0 / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.319e-05/0.1256, allocations: 19.98 kB / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.1256, allocations: 7.875 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1256, allocations: 0 / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1256, allocations: 0 / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.1256, allocations: 4 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.1259, allocations: 216.5 kB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.1259, allocations: 92.94 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.126, allocations: 0 / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.1261, allocations: 8 kB / 486.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.1261, allocations: 7.984 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1261, allocations: 4 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1263, allocations: 164.7 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1263, allocations: 0 / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1265, allocations: 24 kB / 486.4 MB, free: 14.87 MB / 366.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.001106/0.1276, allocations: 451 kB / 486.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.1279, allocations: 71.89 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1279, allocations: 3.938 kB / 487 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.128, allocations: 43.91 kB / 487 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1284, allocations: 23.92 kB / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.129, allocations: 322.5 kB / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.1293, allocations: 0.716 MB / 488 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.1293, allocations: 15.44 kB / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1293, allocations: 0 / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of Templates: time 0.003654/0.133, allocations: 1.797 MB / 489.9 MB, free: 11.53 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches