Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001295, allocations: 213.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.429/1.429, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 78.31 kB / 416.8 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1382, allocations: 62.45 MB / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.004757/0.143, allocations: 1.707 MB / 481 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1445, allocations: 0.5534 MB / 481.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.1447, allocations: 7.938 kB / 481.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003821/0.1451, allocations: 87.81 kB / 481.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.1456, allocations: 95.75 kB / 481.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.1461, allocations: 103.8 kB / 481.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.1463, allocations: 103.8 kB / 481.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1465, allocations: 20 kB / 482 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.1466, allocations: 43.77 kB / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.1467, allocations: 63.81 kB / 482.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.1468, allocations: 8 kB / 482.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.1469, allocations: 47.97 kB / 482.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.471e-05/0.147, allocations: 23.86 kB / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.018e-05/0.1471, allocations: 35.69 kB / 482.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.1473, allocations: 131.8 kB / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1474, allocations: 0 / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1474, allocations: 0 / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1474, allocations: 0 / 482.3 MB, free: 2.707 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007552/0.1481, allocations: 442.8 kB / 482.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/0.1482, allocations: 12.03 kB / 482.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.827e-05/0.1483, allocations: 12.84 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.1487, allocations: 204.5 kB / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1487, allocations: 4.375 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.1487, allocations: 4.375 kB / 483 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.149, allocations: 77.78 kB / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.149, allocations: 0 / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.1491, allocations: 4 kB / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.1491, allocations: 7.938 kB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.1492, allocations: 51.16 kB / 483.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.1501, allocations: 348.6 kB / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.1503, allocations: 62.5 kB / 483.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.686e-05/0.1503, allocations: 28.84 kB / 483.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.1504, allocations: 4 kB / 483.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.1505, allocations: 38.55 kB / 483.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1505, allocations: 4 kB / 483.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001316/0.1518, allocations: 333 kB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.1518, allocations: 55.41 kB / 484 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.1521, allocations: 239.5 kB / 484.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1521, allocations: 29.64 kB / 484.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.1522, allocations: 112 kB / 484.3 MB, free: 488 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.1522, allocations: 51.23 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/0.1523, allocations: 29.7 kB / 484.4 MB, free: 400 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1524, allocations: 326.8 kB / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.1525, allocations: 43.97 kB / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.1527, allocations: 47.97 kB / 484.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.1529, allocations: 104.8 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1529, allocations: 0 / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002903/0.1532, allocations: 153.5 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.1532, allocations: 8 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1532, allocations: 0 / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1533, allocations: 7.938 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.1534, allocations: 35.91 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1534, allocations: 0 / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.1535, allocations: 8 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1535, allocations: 4 kB / 485.1 MB, free: 15.65 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 (13): * Single equations (assignments): 13 * 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.0001279/0.1536, allocations: 141.8 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.1537, allocations: 15.91 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.1541, allocations: 199 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1541, allocations: 0 / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.1541, allocations: 0 / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1541, allocations: 0 / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006861/0.1548, allocations: 0.4953 MB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1548, allocations: 0 / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-05/0.1549, allocations: 27.92 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.155, allocations: 0 / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.155, allocations: 4 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.155, allocations: 0 / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.155, allocations: 7.969 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.1553, allocations: 264.2 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.1554, allocations: 88.92 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.1554, allocations: 4 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.1555, allocations: 7.984 kB / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.1556, allocations: 11.98 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.1556, allocations: 4 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.1558, allocations: 185.1 kB / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1558, allocations: 0 / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1561, allocations: 31.98 kB / 486.6 MB, free: 14.07 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 (13): * Single equations (assignments): 13 * 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.001078/0.1571, allocations: 444.6 kB / 487 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.1575, allocations: 123.8 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1575, allocations: 4 kB / 487.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.1576, allocations: 59.91 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.158, allocations: 19.98 kB / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006859/0.1587, allocations: 369.6 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.1591, allocations: 0.7239 MB / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.1592, allocations: 32.52 kB / 488.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.1593, allocations: 15.44 kB / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of SimCode: time 1.693e-06/0.1593, allocations: 0 / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of Templates: time 0.004738/0.164, allocations: 1.556 MB / 489.9 MB, free: 10.86 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches