Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001073, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001116, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.11 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 77.69 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.139, allocations: 62.45 MB / 480 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003405/0.1424, allocations: 1.604 MB / 481.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1435, allocations: 0.5416 MB / 482.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.1436, allocations: 0 / 482.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.144, allocations: 127.7 kB / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.1443, allocations: 127.5 kB / 482.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.1446, allocations: 87.7 kB / 482.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.1448, allocations: 87.86 kB / 482.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.145, allocations: 23.98 kB / 482.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.831e-05/0.1451, allocations: 51.81 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1452, allocations: 79.73 kB / 482.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1452, allocations: 4 kB / 482.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1454, allocations: 47.97 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.1454, allocations: 27.86 kB / 482.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.1455, allocations: 39.67 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.1457, allocations: 119.6 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1457, allocations: 4 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1458, allocations: 4 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1458, allocations: 0 / 483 MB, free: 2.273 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.0005101/0.1463, allocations: 431 kB / 483.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1463, allocations: 12.03 kB / 483.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.1464, allocations: 12.75 kB / 483.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1466, allocations: 211.9 kB / 483.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1466, allocations: 384 / 483.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1466, allocations: 8.375 kB / 483.6 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1468, allocations: 61.78 kB / 483.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1468, allocations: 0 / 483.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1468, allocations: 0 / 483.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.1468, allocations: 4 kB / 483.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.679e-05/0.1469, allocations: 23.98 kB / 483.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.1474, allocations: 316.6 kB / 484 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1475, allocations: 46.5 kB / 484.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.1475, allocations: 20.94 kB / 484.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1476, allocations: 0 / 484.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.1476, allocations: 30.56 kB / 484.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1476, allocations: 0 / 484.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008716/0.1485, allocations: 232.9 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.1485, allocations: 51.41 kB / 484.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.1488, allocations: 283.7 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1488, allocations: 25.7 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.053e-05/0.1489, allocations: 120.1 kB / 484.8 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.1489, allocations: 19.62 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.149, allocations: 29.7 kB / 484.9 MB, free: 172 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1491, allocations: 326.8 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.743e-05/0.1492, allocations: 24.06 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.046e-05/0.1493, allocations: 31.98 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.1495, allocations: 65.05 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1495, allocations: 0 / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002169/0.1497, allocations: 109.5 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1497, allocations: 4 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.1497, allocations: 0 / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1497, allocations: 0 / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1498, allocations: 19.98 kB / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1499, allocations: 0 / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.1499, allocations: 7.938 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1499, allocations: 0 / 485.5 MB, free: 15.57 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 0.0001012/0.15, allocations: 137.8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.1501, allocations: 15.81 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.1503, allocations: 126.9 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1504, allocations: 3.984 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1504, allocations: 0 / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1504, allocations: 7.875 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004985/0.1509, allocations: 419.2 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1509, allocations: 4 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.469e-05/0.151, allocations: 15.98 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.151, allocations: 3.938 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.151, allocations: 4 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.151, allocations: 0 / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.151, allocations: 432 / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.1513, allocations: 216.2 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.1513, allocations: 100.8 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.1514, allocations: 4 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.1514, allocations: 0 / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1515, allocations: 11.97 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.1515, allocations: 8 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.1517, allocations: 209.5 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1517, allocations: 0 / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1519, allocations: 27.98 kB / 486.7 MB, free: 14.18 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.0009759/0.1529, allocations: 455.6 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.1532, allocations: 67.91 kB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1532, allocations: 0 / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.622e-05/0.1533, allocations: 39.91 kB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1536, allocations: 15 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.1542, allocations: 316.3 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.1545, allocations: 0.7158 MB / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.014e-05/0.1545, allocations: 8.672 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.1546, allocations: 11.44 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1546, allocations: 0 / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of Templates: time 0.003971/0.1586, allocations: 1.4 MB / 489.8 MB, free: 11.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches