Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 107.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001083, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 241.8 MB, free: 15.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2604/0.2604, allocations: 44.17 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001239, allocations: 63.89 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1446, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003162/0.1478, allocations: 1.64 MB / 470.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007819/0.1486, allocations: 407.3 kB / 470.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.1486, allocations: 0 / 470.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.1489, allocations: 83.83 kB / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.1491, allocations: 71.78 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.1493, allocations: 78.59 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1495, allocations: 63.89 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1497, allocations: 20.16 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.1497, allocations: 39.8 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1498, allocations: 51.81 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1499, allocations: 4 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-05/0.15, allocations: 39.98 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.206e-05/0.15, allocations: 23.92 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.1501, allocations: 31.72 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1503, allocations: 96 kB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1503, allocations: 3.938 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1503, allocations: 0 / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1503, allocations: 0 / 471.2 MB, free: 12.21 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.0005423/0.1508, allocations: 418.9 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1509, allocations: 12.02 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.151, allocations: 12.84 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1512, allocations: 196.7 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1512, allocations: 4.375 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.1512, allocations: 384 / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1514, allocations: 61.61 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1514, allocations: 0 / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1514, allocations: 0 / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1514, allocations: 4 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1516, allocations: 31.91 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.152, allocations: 296.7 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1521, allocations: 42.56 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.697e-05/0.1522, allocations: 12.86 kB / 472.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.1523, allocations: 8 kB / 472.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.1523, allocations: 38.58 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.1523, allocations: 0 / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001069/0.1534, allocations: 217 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.1535, allocations: 51.41 kB / 472.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.1538, allocations: 239.1 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1538, allocations: 25.7 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.996e-05/0.1539, allocations: 108.1 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.154, allocations: 23.7 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.154, allocations: 17.72 kB / 472.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.1543, allocations: 322.8 kB / 473.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.966e-05/0.1544, allocations: 27.98 kB / 473.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.971e-05/0.1544, allocations: 23.98 kB / 473.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.1546, allocations: 64.89 kB / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1546, allocations: 3.938 kB / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002397/0.1549, allocations: 101.9 kB / 473.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.1549, allocations: 4 kB / 473.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.1549, allocations: 4 kB / 473.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.155, allocations: 0 / 473.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1551, allocations: 23.98 kB / 473.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.1551, allocations: 4.25 kB / 473.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.1552, allocations: 11.88 kB / 473.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1552, allocations: 0 / 473.5 MB, free: 9.621 MB / 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.0001473/0.1553, allocations: 134.3 kB / 473.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.1554, allocations: 19.8 kB / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.1557, allocations: 127 kB / 473.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1557, allocations: 0 / 473.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1557, allocations: 3.938 kB / 473.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1557, allocations: 0 / 473.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.1562, allocations: 403.3 kB / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1562, allocations: 0 / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-05/0.1563, allocations: 27.92 kB / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1563, allocations: 0 / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1563, allocations: 0 / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1563, allocations: 7.938 kB / 474.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1563, allocations: 0 / 474.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.1566, allocations: 208.2 kB / 474.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.1567, allocations: 88.95 kB / 474.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.1567, allocations: 0 / 474.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.1568, allocations: 8 kB / 474.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.1568, allocations: 7.984 kB / 474.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1568, allocations: 0 / 474.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.157, allocations: 167.2 kB / 474.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.157, allocations: 0 / 474.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1572, allocations: 31.98 kB / 474.7 MB, free: 8.305 MB / 350.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.001087/0.1583, allocations: 446.9 kB / 475.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.1586, allocations: 67.95 kB / 475.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1586, allocations: 0 / 475.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.623e-05/0.1587, allocations: 39.91 kB / 475.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.1591, allocations: 15.94 kB / 475.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/0.1597, allocations: 289.1 kB / 475.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.1601, allocations: 0.716 MB / 476.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.566e-05/0.1602, allocations: 20.64 kB / 476.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.1602, allocations: 11.44 kB / 476.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of SimCode: time 2.885e-06/0.1602, allocations: 0 / 476.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of Templates: time 0.003936/0.1642, allocations: 1.291 MB / 477.6 MB, free: 5.559 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches