Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.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.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_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 78.97 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1259, allocations: 62.44 MB / 480 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003294/0.1293, allocations: 1.608 MB / 481.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1303, allocations: 0.5494 MB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.1304, allocations: 4 kB / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1307, allocations: 67.77 kB / 482.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.131, allocations: 103.6 kB / 482.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.1313, allocations: 119 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.1314, allocations: 83.88 kB / 482.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.1316, allocations: 15.98 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.427e-05/0.1316, allocations: 39.78 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1317, allocations: 59.81 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1318, allocations: 4 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-05/0.1319, allocations: 39.98 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.1319, allocations: 19.92 kB / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.132, allocations: 31.75 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1321, allocations: 107.7 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1321, allocations: 3.938 kB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1321, allocations: 0 / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1322, allocations: 4 kB / 482.9 MB, free: 2.41 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.000441/0.1326, allocations: 419.2 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.1326, allocations: 12.02 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.1327, allocations: 8.844 kB / 483.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.1329, allocations: 192.8 kB / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1329, allocations: 12.34 kB / 483.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.1329, allocations: 4.375 kB / 483.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1331, allocations: 53.81 kB / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1331, allocations: 0 / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1331, allocations: 4 kB / 483.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1331, allocations: 4 kB / 483.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.533e-05/0.1332, allocations: 35.91 kB / 483.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.1336, allocations: 308.6 kB / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1337, allocations: 46.5 kB / 483.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.1337, allocations: 24.94 kB / 484 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.1338, allocations: 4 kB / 484 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.1338, allocations: 34.5 kB / 484 MB, free: 1.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1338, allocations: 0 / 484 MB, free: 1.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008926/0.1347, allocations: 237 kB / 484.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.1347, allocations: 55.34 kB / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1349, allocations: 218.3 kB / 484.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.135, allocations: 29.7 kB / 484.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.135, allocations: 100.1 kB / 484.6 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.1351, allocations: 31.55 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.1351, allocations: 17.72 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1352, allocations: 326.8 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.04e-05/0.1353, allocations: 31.97 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.31e-05/0.1354, allocations: 36.11 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.1356, allocations: 76.98 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1356, allocations: 0 / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002203/0.1358, allocations: 109.5 kB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1358, allocations: 8 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1358, allocations: 0 / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1359, allocations: 0 / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.136, allocations: 19.98 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.136, allocations: 0 / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.136, allocations: 11.92 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.136, allocations: 4 kB / 485.3 MB, free: 15.76 MB / 366.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 8.603e-05/0.1361, allocations: 125.8 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.1362, allocations: 15.81 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.1365, allocations: 134.9 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1365, allocations: 4 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1365, allocations: 3.984 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1365, allocations: 4.359 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.137, allocations: 419.3 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.137, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.258e-05/0.1371, allocations: 19.98 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1371, allocations: 3.938 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.1371, allocations: 0 / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1371, allocations: 4 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1371, allocations: 7.938 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.1374, allocations: 224.2 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.1375, allocations: 88.95 kB / 486.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.1375, allocations: 7.984 kB / 486.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.1376, allocations: 11.94 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.1376, allocations: 11.92 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1377, allocations: 0 / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1378, allocations: 164.2 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1378, allocations: 4 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.138, allocations: 20 kB / 486.5 MB, free: 14.4 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.0009653/0.139, allocations: 439.6 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.1393, allocations: 79.94 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1393, allocations: 3.938 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.1394, allocations: 47.91 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.1397, allocations: 12.59 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006103/0.1403, allocations: 270.9 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.1407, allocations: 0.7157 MB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.281e-05/0.1408, allocations: 20.66 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.1409, allocations: 15.38 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1409, allocations: 0 / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Templates: time 0.00401/0.1449, allocations: 1.395 MB / 489.5 MB, free: 11.52 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches