Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 103.8 kB / 17.63 MB, free: 5.344 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.00123/0.001231, allocations: 192 kB / 18.56 MB, free: 4.434 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.319/1.319, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.1962/0.1962, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.58 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1382, allocations: 60.82 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003825/0.1421, allocations: 1.572 MB / 470.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008349/0.143, allocations: 407.3 kB / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.151e-05/0.1431, allocations: 0 / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.1434, allocations: 107.7 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.1437, allocations: 83.72 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.1441, allocations: 91.69 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.1443, allocations: 79.77 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1445, allocations: 20.16 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1446, allocations: 39.84 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.1448, allocations: 59.88 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.1449, allocations: 8 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.145, allocations: 51.91 kB / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.1451, allocations: 23.86 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.446e-05/0.1452, allocations: 27.75 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.1455, allocations: 108 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1455, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1455, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.1455, allocations: 0 / 471.9 MB, free: 11.7 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.0006409/0.1461, allocations: 422.8 kB / 472.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1462, allocations: 8.031 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.1463, allocations: 20.73 kB / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1465, allocations: 200.1 kB / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1465, allocations: 8.312 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1465, allocations: 4.375 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1467, allocations: 57.61 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1467, allocations: 0 / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1467, allocations: 0 / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1467, allocations: 0 / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.1469, allocations: 35.95 kB / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.1473, allocations: 300.7 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.1474, allocations: 42.56 kB / 473 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.1475, allocations: 12.86 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.1475, allocations: 4.078 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.1476, allocations: 38.56 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1476, allocations: 0 / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009044/0.1485, allocations: 217 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.1486, allocations: 55.39 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.1488, allocations: 251.3 kB / 473.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1488, allocations: 25.7 kB / 473.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.067e-05/0.1489, allocations: 116.1 kB / 473.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.1489, allocations: 23.56 kB / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.149, allocations: 21.7 kB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1491, allocations: 326.8 kB / 474 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.1492, allocations: 23.98 kB / 474.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1493, allocations: 27.98 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1495, allocations: 60.83 kB / 474.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1495, allocations: 0 / 474.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000201/0.1497, allocations: 93.58 kB / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1497, allocations: 7.938 kB / 474.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1497, allocations: 3.984 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1497, allocations: 3.938 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.976e-05/0.1499, allocations: 20 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1499, allocations: 4.25 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.1499, allocations: 11.98 kB / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1499, allocations: 0 / 474.3 MB, free: 9.074 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.0001174/0.1501, allocations: 133.8 kB / 474.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.1501, allocations: 15.81 kB / 474.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.1504, allocations: 127 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.1504, allocations: 4 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1504, allocations: 3.938 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1504, allocations: 0 / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.1509, allocations: 407.2 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1509, allocations: 0 / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-05/0.151, allocations: 27.95 kB / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.151, allocations: 0 / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.151, allocations: 0 / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.151, allocations: 4 kB / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1511, allocations: 0 / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.1513, allocations: 200.2 kB / 475.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.1514, allocations: 100.9 kB / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1514, allocations: 0 / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.1515, allocations: 7.984 kB / 475.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.1515, allocations: 4.422 kB / 475.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1516, allocations: 0 / 475.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.1517, allocations: 195.4 kB / 475.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1517, allocations: 0 / 475.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.152, allocations: 16 kB / 475.5 MB, free: 7.746 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.001054/0.153, allocations: 460.4 kB / 476 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.1533, allocations: 67.89 kB / 476 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1533, allocations: 4 kB / 476 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.31e-05/0.1534, allocations: 35.92 kB / 476.1 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.1538, allocations: 27.86 kB / 476.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.1544, allocations: 283.2 kB / 476.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1548, allocations: 0.708 MB / 477.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.543e-05/0.1548, allocations: 20.62 kB / 477.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.1549, allocations: 15.44 kB / 477.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1549, allocations: 0 / 477.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of Templates: time 0.004122/0.159, allocations: 1.339 MB / 478.5 MB, free: 4.934 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches