Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001234/0.001234, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2374/0.2374, allocations: 46.1 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 75.56 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1463, allocations: 62.44 MB / 480.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003676/0.15, allocations: 1.604 MB / 482.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1511, allocations: 0.5415 MB / 482.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.1512, allocations: 4 kB / 482.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.1515, allocations: 31.78 kB / 482.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.1518, allocations: 75.69 kB / 483 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.1521, allocations: 91.69 kB / 483 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.1522, allocations: 67.83 kB / 483.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1524, allocations: 19.98 kB / 483.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.34e-05/0.1524, allocations: 31.86 kB / 483.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.404e-05/0.1525, allocations: 27.84 kB / 483.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1526, allocations: 4 kB / 483.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.1528, allocations: 103.9 kB / 483.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.1528, allocations: 15.92 kB / 483.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.1529, allocations: 23.86 kB / 483.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.1532, allocations: 155.6 kB / 483.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.1532, allocations: 4 kB / 483.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1532, allocations: 0 / 483.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1532, allocations: 0 / 483.5 MB, free: 2.492 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005614/0.1538, allocations: 407.4 kB / 483.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1538, allocations: 12.02 kB / 483.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.1539, allocations: 8.844 kB / 483.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.1541, allocations: 192.2 kB / 484.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1541, allocations: 4.375 kB / 484.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1541, allocations: 384 / 484.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1543, allocations: 83.45 kB / 484.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1543, allocations: 0 / 484.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1544, allocations: 4 kB / 484.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1544, allocations: 0 / 484.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.716e-05/0.1545, allocations: 23.98 kB / 484.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.155, allocations: 308.7 kB / 484.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1551, allocations: 58.48 kB / 484.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.361e-05/0.1552, allocations: 32.95 kB / 484.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.1552, allocations: 0 / 484.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1552, allocations: 34.56 kB / 484.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1552, allocations: 4 kB / 484.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006775/0.1559, allocations: 177.3 kB / 484.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.156, allocations: 85.03 kB / 484.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.1562, allocations: 152.6 kB / 485 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1562, allocations: 29.7 kB / 485.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.1563, allocations: 92.12 kB / 485.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.1563, allocations: 35.55 kB / 485.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.1564, allocations: 29.7 kB / 485.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1565, allocations: 326.8 kB / 485.5 MB, free: 216 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.173e-05/0.1566, allocations: 27.92 kB / 485.6 MB, free: 188 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.038e-05/0.1567, allocations: 49.62 kB / 485.6 MB, free: 132 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.1569, allocations: 72.86 kB / 485.7 MB, free: 56 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1569, allocations: 0 / 485.7 MB, free: 56 kB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000276/0.1572, allocations: 117.5 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1572, allocations: 8 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1572, allocations: 0 / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1572, allocations: 0 / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1574, allocations: 19.98 kB / 485.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1574, allocations: 0 / 485.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.1574, allocations: 4 kB / 485.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1574, allocations: 4 kB / 485.8 MB, free: 15.9 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 (9): * Single equations (assignments): 9 * 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.0001149/0.1576, allocations: 133.7 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.1576, allocations: 8.188 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.1579, allocations: 114.4 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1579, allocations: 0 / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1579, allocations: 3.938 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1579, allocations: 0 / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005293/0.1585, allocations: 406.3 kB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1585, allocations: 4 kB / 486.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.068e-05/0.1585, allocations: 16.36 kB / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1586, allocations: 0 / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1586, allocations: 7.938 kB / 486.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1586, allocations: 0 / 486.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1586, allocations: 8 kB / 486.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.1589, allocations: 199.4 kB / 486.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.1589, allocations: 81.02 kB / 486.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.159, allocations: 11.92 kB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.1591, allocations: 0 / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.1591, allocations: 7.984 kB / 486.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.1591, allocations: 12 kB / 486.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.1592, allocations: 114 kB / 486.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.1592, allocations: 0 / 486.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003042/0.1595, allocations: 43.92 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.001244/0.1608, allocations: 0.5012 MB / 487.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.1611, allocations: 71.89 kB / 487.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1611, allocations: 4 kB / 487.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.1612, allocations: 43.91 kB / 487.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.1616, allocations: 18.94 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005356/0.1621, allocations: 227.6 kB / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.1624, allocations: 0.6924 MB / 488.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.829e-05/0.1625, allocations: 23.42 kB / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1625, allocations: 0 / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Templates: time 0.00483/0.1674, allocations: 2.146 MB / 490.7 MB, free: 11.03 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches