Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 117.3 kB / 17.99 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001549/0.001549, allocations: 201.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.13 MB / 344.5 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 84.23 kB / 417.8 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1267, allocations: 62.44 MB / 480.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003413/0.1302, allocations: 1.679 MB / 481.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1312, allocations: 0.5378 MB / 482.4 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.647e-05/0.1313, allocations: 0 / 482.4 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.1316, allocations: 79.77 kB / 482.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.132, allocations: 95.77 kB / 482.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.1323, allocations: 95.45 kB / 482.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.1325, allocations: 87.81 kB / 482.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1326, allocations: 15.98 kB / 482.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.801e-05/0.1327, allocations: 35.84 kB / 482.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1328, allocations: 63.75 kB / 482.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1329, allocations: 4 kB / 482.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.133, allocations: 51.98 kB / 483 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.133, allocations: 23.91 kB / 483 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.1331, allocations: 27.75 kB / 483 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1333, allocations: 79.89 kB / 483.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1333, allocations: 3.938 kB / 483.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.175e-06/0.1333, allocations: 0 / 483.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1333, allocations: 3.938 kB / 483.1 MB, free: 2.715 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.0005385/0.1339, allocations: 411.2 kB / 483.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1339, allocations: 12.03 kB / 483.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.134, allocations: 8.844 kB / 483.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1342, allocations: 206.6 kB / 483.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.1342, allocations: 384 / 483.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.1342, allocations: 4.375 kB / 483.7 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1344, allocations: 61.78 kB / 483.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1344, allocations: 0 / 483.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.1344, allocations: 0 / 483.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1344, allocations: 4 kB / 483.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1345, allocations: 23.98 kB / 483.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.135, allocations: 312.6 kB / 484.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1351, allocations: 46.56 kB / 484.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.1352, allocations: 16.94 kB / 484.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1352, allocations: 0 / 484.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1353, allocations: 38.56 kB / 484.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1353, allocations: 0 / 484.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008972/0.1362, allocations: 237.3 kB / 484.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.1362, allocations: 55.39 kB / 484.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.1364, allocations: 218.8 kB / 484.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1365, allocations: 29.64 kB / 484.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.1366, allocations: 104.2 kB / 484.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.1366, allocations: 31.55 kB / 484.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.1366, allocations: 25.7 kB / 484.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1368, allocations: 322.8 kB / 485.2 MB, free: 384 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.982e-05/0.1369, allocations: 27.98 kB / 485.2 MB, free: 356 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.137, allocations: 31.97 kB / 485.3 MB, free: 324 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1371, allocations: 73.05 kB / 485.3 MB, free: 248 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1372, allocations: 0 / 485.3 MB, free: 248 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002274/0.1374, allocations: 117.5 kB / 485.5 MB, free: 124 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1374, allocations: 8 kB / 485.5 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1374, allocations: 96 / 485.5 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1374, allocations: 3.984 kB / 485.5 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1375, allocations: 23.98 kB / 485.5 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1376, allocations: 4 kB / 485.5 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.1376, allocations: 3.938 kB / 485.5 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1376, allocations: 4 kB / 485.5 MB, free: 76 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.0001261/0.1378, allocations: 133.8 kB / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1378, allocations: 11.81 kB / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.1381, allocations: 146.8 kB / 485.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1381, allocations: 0 / 485.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.1381, allocations: 0 / 485.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.1381, allocations: 3.938 kB / 485.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005559/0.1387, allocations: 419.3 kB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1387, allocations: 4 kB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.969e-05/0.1388, allocations: 20.02 kB / 486.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1388, allocations: 3.938 kB / 486.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1388, allocations: 4 kB / 486.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1388, allocations: 0 / 486.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1388, allocations: 0 / 486.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.1391, allocations: 216.1 kB / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.1392, allocations: 92.95 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1392, allocations: 4 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.1393, allocations: 4 kB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.1393, allocations: 7.984 kB / 486.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.1393, allocations: 7.938 kB / 486.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1395, allocations: 164.7 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1395, allocations: 4 kB / 486.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1397, allocations: 23.98 kB / 486.7 MB, free: 14.72 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.001612/0.1414, allocations: 452.3 kB / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.1416, allocations: 75.89 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1416, allocations: 4 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.1417, allocations: 43.91 kB / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1421, allocations: 15 kB / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.1427, allocations: 328.6 kB / 487.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.143, allocations: 0.7118 MB / 488.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.1431, allocations: 19.42 kB / 488.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1431, allocations: 0 / 488.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of Templates: time 0.003707/0.1468, allocations: 1.817 MB / 490.2 MB, free: 11.37 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches