Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 104.7 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.001297/0.001297, 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.294/1.294, allocations: 222.9 MB / 242.2 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.19/0.19, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 65.42 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1236, allocations: 60.82 MB / 469.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003423/0.1271, allocations: 1.579 MB / 470.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008114/0.1279, allocations: 423.2 kB / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.863e-05/0.128, allocations: 0 / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1283, allocations: 75.77 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.1286, allocations: 63.73 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.129, allocations: 111.7 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.1292, allocations: 71.83 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1293, allocations: 16.19 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.1294, allocations: 43.77 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1295, allocations: 47.89 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.1296, allocations: 4 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1297, allocations: 43.98 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.1298, allocations: 19.92 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.162e-05/0.1298, allocations: 31.73 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.13, allocations: 95.98 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1301, allocations: 4 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1301, allocations: 0 / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1301, allocations: 0 / 471.9 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005285/0.1306, allocations: 409.7 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.1307, allocations: 8.031 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.1307, allocations: 12.78 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.1309, allocations: 200.1 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-06/0.1309, allocations: 384 / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.131, allocations: 8.375 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1311, allocations: 57.61 kB / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.1312, allocations: 7.906 kB / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1312, allocations: 4 kB / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1312, allocations: 0 / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1313, allocations: 27.92 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.1318, allocations: 292.8 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.1319, allocations: 54.55 kB / 472.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.1319, allocations: 16.94 kB / 472.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.132, allocations: 0 / 472.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.132, allocations: 38.5 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.132, allocations: 0 / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009529/0.133, allocations: 237.1 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.133, allocations: 51.41 kB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.1333, allocations: 214.1 kB / 473.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.1333, allocations: 25.7 kB / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.1334, allocations: 112 kB / 473.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.1334, allocations: 19.66 kB / 473.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.1335, allocations: 29.7 kB / 473.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1337, allocations: 326.8 kB / 474 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1338, allocations: 27.98 kB / 474 MB, free: 9.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.023e-05/0.1339, allocations: 27.97 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.1341, allocations: 68.83 kB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1341, allocations: 7.938 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002353/0.1343, allocations: 117.7 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1343, allocations: 4 kB / 474.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1344, allocations: 0 / 474.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1344, allocations: 4 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1345, allocations: 19.92 kB / 474.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1345, allocations: 8 kB / 474.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.1346, allocations: 7.984 kB / 474.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.1346, allocations: 8 kB / 474.3 MB, free: 9.113 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.000103/0.1347, allocations: 129.8 kB / 474.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.1347, allocations: 11.91 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.135, allocations: 118.4 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.135, allocations: 4 kB / 474.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.135, allocations: 7.938 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.135, allocations: 0 / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.1356, allocations: 419.2 kB / 474.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1356, allocations: 4 kB / 474.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.007e-05/0.1357, allocations: 23.92 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1357, allocations: 0 / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1357, allocations: 4 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1357, allocations: 3.938 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1357, allocations: 4.031 kB / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.136, allocations: 204.3 kB / 475.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.1361, allocations: 92.94 kB / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1361, allocations: 0 / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.1362, allocations: 4 kB / 475.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.1362, allocations: 15.98 kB / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.1362, allocations: 0 / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1364, allocations: 159.2 kB / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1364, allocations: 0 / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1366, allocations: 16 kB / 475.5 MB, free: 7.805 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.001062/0.1377, allocations: 471.5 kB / 475.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.138, allocations: 71.95 kB / 476 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.138, allocations: 0 / 476 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.582e-05/0.1381, allocations: 43.91 kB / 476 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.1385, allocations: 28.17 kB / 476.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005514/0.1391, allocations: 259.1 kB / 476.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.1394, allocations: 0.7119 MB / 477 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.724e-05/0.1395, allocations: 16.66 kB / 477 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.1396, allocations: 15.44 kB / 477 MB, free: 6.324 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1396, allocations: 3.938 kB / 477.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of Templates: time 0.004281/0.1439, allocations: 1.363 MB / 478.4 MB, free: 4.973 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches