Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001126/0.001126, allocations: 194 kB / 18.12 MB, free: 5.383 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.486/1.486, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.2265/0.2265, allocations: 44.18 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 65.31 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1393, allocations: 60.82 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003298/0.1427, allocations: 1.617 MB / 470.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1442, allocations: 0.9999 MB / 471.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.1442, allocations: 7.938 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.1445, allocations: 19.91 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.1447, allocations: 31.88 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.145, allocations: 99.44 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1451, allocations: 55.83 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1452, allocations: 15.98 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/0.1453, allocations: 19.88 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.1454, allocations: 27.84 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1454, allocations: 4 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1456, allocations: 47.97 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.1456, allocations: 7.938 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.1457, allocations: 23.84 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.1458, allocations: 87.78 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1459, allocations: 4 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1459, allocations: 0 / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1459, allocations: 0 / 471.6 MB, free: 11.74 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004982/0.1464, allocations: 371.6 kB / 471.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1464, allocations: 15.97 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.1465, allocations: 4.844 kB / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.1467, allocations: 192.2 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.1467, allocations: 4.375 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1467, allocations: 4.359 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1469, allocations: 71.52 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1469, allocations: 0 / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1469, allocations: 0 / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.1469, allocations: 8 kB / 472.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.92e-05/0.147, allocations: 27.86 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.1475, allocations: 276.9 kB / 472.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.1477, allocations: 46.55 kB / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.1478, allocations: 16.86 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1478, allocations: 96 / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.1478, allocations: 38.48 kB / 472.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.1478, allocations: 0 / 472.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006012/0.1484, allocations: 145.3 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.1485, allocations: 81.05 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1486, allocations: 140.7 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1487, allocations: 25.7 kB / 473 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.1487, allocations: 96.12 kB / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.1488, allocations: 11.75 kB / 473.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.1488, allocations: 21.72 kB / 473.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1489, allocations: 326.8 kB / 473.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.281e-05/0.149, allocations: 19.98 kB / 473.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.431e-05/0.1491, allocations: 33.64 kB / 473.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1492, allocations: 56.81 kB / 473.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1493, allocations: 4.031 kB / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000201/0.1495, allocations: 85.52 kB / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1495, allocations: 8 kB / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1495, allocations: 0 / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1495, allocations: 0 / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.294e-05/0.1496, allocations: 11.98 kB / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1496, allocations: 0 / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.1497, allocations: 7.984 kB / 473.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1497, allocations: 4 kB / 473.7 MB, free: 9.391 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 (5): * Single equations (assignments): 5 * 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 9.749e-05/0.1498, allocations: 122.3 kB / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.1498, allocations: 3.906 kB / 473.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.1501, allocations: 97.81 kB / 473.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1501, allocations: 0 / 473.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.1501, allocations: 8.047 kB / 473.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1501, allocations: 0 / 473.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.1506, allocations: 354.5 kB / 474.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1506, allocations: 0 / 474.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.293e-05/0.1507, allocations: 15.94 kB / 474.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1507, allocations: 0 / 474.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1507, allocations: 0 / 474.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.1507, allocations: 7.922 kB / 474.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1507, allocations: 0 / 474.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.151, allocations: 187.4 kB / 474.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.151, allocations: 81.09 kB / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.1511, allocations: 0 / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.1511, allocations: 7.938 kB / 474.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.1512, allocations: 7.984 kB / 474.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1512, allocations: 288 / 474.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.489e-05/0.1513, allocations: 103.3 kB / 474.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1513, allocations: 0 / 474.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.1516, allocations: 31.91 kB / 474.7 MB, free: 8.277 MB / 350.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 (5): * Single equations (assignments): 5 * 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.001188/0.1528, allocations: 453.6 kB / 475.1 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.153, allocations: 59.89 kB / 475.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1531, allocations: 0 / 475.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.977e-05/0.1531, allocations: 23.98 kB / 475.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1535, allocations: 15.98 kB / 475.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.154, allocations: 175.3 kB / 475.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.1544, allocations: 0.6926 MB / 476.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.475e-05/0.1545, allocations: 19.91 kB / 476.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.1545, allocations: 15.42 kB / 476.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1545, allocations: 0 / 476.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of Templates: time 0.004232/0.1588, allocations: 1.311 MB / 477.5 MB, free: 5.645 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches