Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001614/0.001614, allocations: 108.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00194/0.00194, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.4 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.2164/0.2164, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 78.53 kB / 417.1 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1304, allocations: 62.44 MB / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003661/0.1341, allocations: 1.727 MB / 481.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1355, allocations: 0.5455 MB / 481.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.575e-05/0.1356, allocations: 4 kB / 481.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.136, allocations: 71.83 kB / 481.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.1364, allocations: 87.72 kB / 481.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.1368, allocations: 115 kB / 482 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.137, allocations: 95.75 kB / 482.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1372, allocations: 20.2 kB / 482.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.838e-05/0.1373, allocations: 43.83 kB / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1374, allocations: 51.83 kB / 482.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1374, allocations: 7.938 kB / 482.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1375, allocations: 51.97 kB / 482.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1376, allocations: 23.92 kB / 482.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.1377, allocations: 35.75 kB / 482.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.1379, allocations: 123.6 kB / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1379, allocations: 0 / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1379, allocations: 0 / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1379, allocations: 0 / 482.5 MB, free: 2.598 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005908/0.1385, allocations: 419.2 kB / 482.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.1386, allocations: 8.031 kB / 482.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.1386, allocations: 16.78 kB / 482.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1389, allocations: 206.6 kB / 483.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1389, allocations: 4.375 kB / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.1389, allocations: 12.28 kB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1391, allocations: 61.8 kB / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1391, allocations: 0 / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1392, allocations: 4 kB / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1392, allocations: 0 / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.1393, allocations: 43.89 kB / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.1398, allocations: 308.8 kB / 483.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.1401, allocations: 58.58 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/0.1402, allocations: 24.97 kB / 483.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.1402, allocations: 4 kB / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1402, allocations: 34.56 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.424e-06/0.1402, allocations: 0 / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001418/0.1417, allocations: 400.7 kB / 484.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.1417, allocations: 55.34 kB / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1419, allocations: 210.9 kB / 484.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.142, allocations: 29.7 kB / 484.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.142, allocations: 108 kB / 484.4 MB, free: 444 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.1421, allocations: 43.39 kB / 484.5 MB, free: 400 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.1421, allocations: 25.7 kB / 484.5 MB, free: 368 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1423, allocations: 322.8 kB / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1424, allocations: 44.05 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.1425, allocations: 44.08 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.1428, allocations: 100.9 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1428, allocations: 0 / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003149/0.1431, allocations: 145.5 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.1432, allocations: 4 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1432, allocations: 0 / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1432, allocations: 0 / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1433, allocations: 35.86 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.1433, allocations: 4 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.494e-05/0.1434, allocations: 8.547 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1434, allocations: 4 kB / 485.2 MB, free: 15.64 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 (11): * Single equations (assignments): 11 * 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.0001582/0.1436, allocations: 133.8 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.1437, allocations: 15.75 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004628/0.1441, allocations: 178.8 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.1442, allocations: 7.938 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.1442, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1442, allocations: 3.984 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008078/0.145, allocations: 475.8 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.145, allocations: 0 / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.1451, allocations: 31.97 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1451, allocations: 0 / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1452, allocations: 8.062 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1452, allocations: 4 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1452, allocations: 0 / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.1456, allocations: 256.9 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/0.1456, allocations: 96.91 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.1457, allocations: 0 / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1458, allocations: 11.98 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.1459, allocations: 11.98 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.1459, allocations: 4 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.1461, allocations: 160.7 kB / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1461, allocations: 0 / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.1464, allocations: 24 kB / 486.6 MB, free: 14.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001308/0.1477, allocations: 458.9 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003999/0.1481, allocations: 111.9 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1481, allocations: 0 / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.1483, allocations: 59.91 kB / 487.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.1488, allocations: 26.92 kB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.1495, allocations: 337 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.1498, allocations: 0.7158 MB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.1499, allocations: 16.53 kB / 488.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.1499, allocations: 15.44 kB / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1499, allocations: 0 / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of Templates: time 0.004849/0.1548, allocations: 1.518 MB / 489.8 MB, free: 11 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches