Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001656/0.001657, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001875/0.001875, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2308/0.2308, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 76.16 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1283, allocations: 62.45 MB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002896/0.1313, allocations: 1.651 MB / 480.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.1323, allocations: 0.5417 MB / 481.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.1323, allocations: 0 / 481.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.1326, allocations: 27.86 kB / 481.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.1328, allocations: 63.75 kB / 481.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.1331, allocations: 103.3 kB / 481.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.1333, allocations: 55.84 kB / 481.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1334, allocations: 23.92 kB / 481.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.1335, allocations: 11.94 kB / 481.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.639e-05/0.1335, allocations: 27.84 kB / 481.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1336, allocations: 0 / 481.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.01e-05/0.1337, allocations: 35.92 kB / 481.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.1337, allocations: 11.94 kB / 481.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.1338, allocations: 23.8 kB / 481.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.1339, allocations: 79.78 kB / 481.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.134, allocations: 8 kB / 481.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.134, allocations: 4 kB / 482 MB, free: 3.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.134, allocations: 0 / 482 MB, free: 3.059 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005435/0.1345, allocations: 383.5 kB / 482.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.1346, allocations: 12.88 kB / 482.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.1347, allocations: 4.844 kB / 482.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.1349, allocations: 192.2 kB / 482.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1349, allocations: 384 / 482.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.135, allocations: 12.25 kB / 482.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1351, allocations: 53.8 kB / 482.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1351, allocations: 0 / 482.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1352, allocations: 8 kB / 482.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1352, allocations: 0 / 482.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.78e-05/0.1353, allocations: 19.98 kB / 482.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.1357, allocations: 292.8 kB / 482.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.136, allocations: 50.5 kB / 483 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.1361, allocations: 20.94 kB / 483 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1361, allocations: 0 / 483 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1361, allocations: 30.56 kB / 483 MB, free: 1.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1361, allocations: 0 / 483 MB, free: 1.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006773/0.1368, allocations: 153.3 kB / 483.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1369, allocations: 55.41 kB / 483.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1371, allocations: 165.7 kB / 483.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1371, allocations: 29.7 kB / 483.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.1372, allocations: 92.14 kB / 483.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.1372, allocations: 19.73 kB / 483.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-05/0.1373, allocations: 17.72 kB / 483.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1374, allocations: 322.8 kB / 483.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.062e-05/0.1375, allocations: 19.98 kB / 483.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.1376, allocations: 19.98 kB / 483.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.1377, allocations: 60.75 kB / 483.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1377, allocations: 3.938 kB / 483.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001985/0.1379, allocations: 85.58 kB / 484 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.138, allocations: 10.97 kB / 484 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.138, allocations: 0 / 484 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.138, allocations: 0 / 484 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.85e-05/0.1381, allocations: 15.98 kB / 484.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1381, allocations: 0 / 484.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.1381, allocations: 11.92 kB / 484.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1381, allocations: 0 / 484.1 MB, free: 0.7188 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 (5): * Single equations (assignments): 5 * 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 8.756e-05/0.1382, allocations: 117.8 kB / 484.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.1383, allocations: 7.906 kB / 484.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.1385, allocations: 102.2 kB / 484.3 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1386, allocations: 3.938 kB / 484.3 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1386, allocations: 4.312 kB / 484.3 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1386, allocations: 7.922 kB / 484.3 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.139, allocations: 358.5 kB / 484.7 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.139, allocations: 0 / 484.7 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.1391, allocations: 19.98 kB / 484.7 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1391, allocations: 0 / 484.7 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1391, allocations: 3.938 kB / 484.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1391, allocations: 0 / 484.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1391, allocations: 0 / 484.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1394, allocations: 179.4 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.1394, allocations: 89.02 kB / 484.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1395, allocations: 3.938 kB / 484.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.1395, allocations: 11.98 kB / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1396, allocations: 3.938 kB / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.1396, allocations: 4 kB / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.1397, allocations: 126.8 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1397, allocations: 0 / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.14, allocations: 15.98 kB / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009677/0.1409, allocations: 398 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1411, allocations: 51.95 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1412, allocations: 0 / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.559e-05/0.1413, allocations: 27.92 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.1416, allocations: 27.86 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.1421, allocations: 211.8 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.1424, allocations: 0.6926 MB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.1425, allocations: 19.98 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.1426, allocations: 15.44 kB / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1426, allocations: 0 / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of Templates: time 0.003678/0.1463, allocations: 1.089 MB / 487.6 MB, free: 13.13 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches