Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, 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.001946/0.001947, 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.401/1.401, allocations: 222.9 MB / 241.8 MB, free: 15.36 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.2206/0.2206, allocations: 44.19 MB / 336.1 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 60.03 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1292, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003241/0.1325, allocations: 1.633 MB / 470.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007776/0.1333, allocations: 415.3 kB / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.1334, allocations: 0 / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.1337, allocations: 111.8 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.1339, allocations: 71.78 kB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.1341, allocations: 99.39 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.1343, allocations: 71.88 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1344, allocations: 24.16 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.635e-05/0.1345, allocations: 43.78 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1346, allocations: 63.86 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1346, allocations: 0 / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.518e-05/0.1347, allocations: 39.98 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.1348, allocations: 27.84 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.1348, allocations: 31.75 kB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.135, allocations: 108 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.135, allocations: 0 / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.135, allocations: 0 / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.135, allocations: 7.938 kB / 471.2 MB, free: 12.11 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.0004948/0.1355, allocations: 418.9 kB / 471.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1356, allocations: 8.031 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.1356, allocations: 16.84 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.1358, allocations: 208.5 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1358, allocations: 384 / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1358, allocations: 4.375 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.136, allocations: 65.58 kB / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.136, allocations: 4 kB / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.136, allocations: 0 / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.136, allocations: 0 / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1361, allocations: 35.91 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.1366, allocations: 300.7 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.1367, allocations: 50.55 kB / 472.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.829e-05/0.1367, allocations: 16.86 kB / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1368, allocations: 0 / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1368, allocations: 38.58 kB / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1368, allocations: 0 / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009228/0.1377, allocations: 237 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.1378, allocations: 55.41 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.138, allocations: 238.6 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.138, allocations: 37.64 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.1381, allocations: 104.1 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.1381, allocations: 31.62 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1382, allocations: 21.72 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1383, allocations: 334.8 kB / 473.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.1384, allocations: 27.98 kB / 473.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-05/0.1385, allocations: 31.97 kB / 473.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.1387, allocations: 68.83 kB / 473.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1387, allocations: 3.938 kB / 473.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000214/0.1389, allocations: 109.6 kB / 473.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1389, allocations: 4 kB / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1389, allocations: 0 / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1389, allocations: 4 kB / 473.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.139, allocations: 15.98 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1391, allocations: 3.938 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.1391, allocations: 7.984 kB / 473.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1391, allocations: 8 kB / 473.7 MB, free: 9.422 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.0001011/0.1392, allocations: 133.8 kB / 473.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.1393, allocations: 15.81 kB / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.1396, allocations: 135.8 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1396, allocations: 0 / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1396, allocations: 3.938 kB / 474 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1396, allocations: 7.969 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.1401, allocations: 415.3 kB / 474.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.1401, allocations: 7.984 kB / 474.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-05/0.1402, allocations: 23.94 kB / 474.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1402, allocations: 0 / 474.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1402, allocations: 4 kB / 474.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1402, allocations: 7.922 kB / 474.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1402, allocations: 0 / 474.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.1405, allocations: 212.2 kB / 474.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.1405, allocations: 92.86 kB / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1406, allocations: 0 / 474.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.1406, allocations: 7.984 kB / 474.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.1407, allocations: 8 kB / 474.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1407, allocations: 7.938 kB / 474.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.1409, allocations: 188.3 kB / 474.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1409, allocations: 0 / 474.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1411, allocations: 23.98 kB / 475 MB, free: 8.047 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.00104/0.1422, allocations: 454.3 kB / 475.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.1424, allocations: 71.94 kB / 475.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1425, allocations: 0 / 475.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.164e-05/0.1425, allocations: 39.92 kB / 475.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1429, allocations: 23.92 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.1435, allocations: 320.9 kB / 475.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1438, allocations: 0.716 MB / 476.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.564e-05/0.1438, allocations: 20.95 kB / 476.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.1439, allocations: 19.42 kB / 476.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1439, allocations: 0 / 476.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of Templates: time 0.004141/0.148, allocations: 1.335 MB / 477.9 MB, free: 5.195 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches