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.001034/0.001034, allocations: 91.05 kB / 17.35 MB, free: 6.375 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.001311/0.001311, allocations: 179.7 kB / 18.26 MB, free: 5.52 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.462/1.462, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2254/0.2254, allocations: 44.25 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 8 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1294, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002262/0.1318, allocations: 1.286 MB / 473.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000878/0.1327, allocations: 411.4 kB / 473.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/0.1328, allocations: 0 / 473.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.1331, allocations: 103.8 kB / 474 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.1333, allocations: 67.8 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.1337, allocations: 107.2 kB / 474.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.1339, allocations: 75.86 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.134, allocations: 16.19 kB / 474.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.134, allocations: 35.78 kB / 474.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1342, allocations: 59.88 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.1342, allocations: 0 / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1343, allocations: 43.97 kB / 474.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.1344, allocations: 23.86 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.729e-05/0.1344, allocations: 53.45 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1346, allocations: 108 kB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1346, allocations: 4 kB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1346, allocations: 0 / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1346, allocations: 3.938 kB / 474.6 MB, free: 10.93 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.000485/0.1351, allocations: 409.2 kB / 475 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1352, allocations: 12.03 kB / 475 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.1352, allocations: 8.844 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.1354, allocations: 216.4 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1354, allocations: 4.375 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.1355, allocations: 8.375 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1356, allocations: 61.61 kB / 475.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1356, allocations: 0 / 475.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1357, allocations: 0 / 475.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1357, allocations: 0 / 475.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1358, allocations: 35.91 kB / 475.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.1362, allocations: 308.7 kB / 475.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.1364, allocations: 46.66 kB / 475.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.1364, allocations: 16.84 kB / 475.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.1365, allocations: 7.984 kB / 475.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1365, allocations: 42.5 kB / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1365, allocations: 0 / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009697/0.1375, allocations: 261.1 kB / 476 MB, free: 9.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.1376, allocations: 59.41 kB / 476.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.1378, allocations: 246.5 kB / 476.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1378, allocations: 29.64 kB / 476.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.1379, allocations: 104.1 kB / 476.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.1379, allocations: 27.64 kB / 476.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.138, allocations: 17.72 kB / 476.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1381, allocations: 322.8 kB / 476.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.587e-05/0.1382, allocations: 39.97 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.1383, allocations: 31.98 kB / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.1385, allocations: 85.03 kB / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1385, allocations: 0 / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002403/0.1387, allocations: 129.4 kB / 477.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1388, allocations: 4 kB / 477.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1388, allocations: 0 / 477.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1388, allocations: 0 / 477.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1389, allocations: 19.98 kB / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1389, allocations: 7.938 kB / 477.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.139, allocations: 12 kB / 477.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.139, allocations: 0 / 477.2 MB, free: 8.176 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.0001077/0.1391, allocations: 133.8 kB / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.1391, allocations: 19.73 kB / 477.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.1394, allocations: 135 kB / 477.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1394, allocations: 0 / 477.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1394, allocations: 3.938 kB / 477.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1395, allocations: 4 kB / 477.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005478/0.14, allocations: 431.3 kB / 477.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.14, allocations: 0 / 477.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.957e-05/0.1401, allocations: 27.86 kB / 477.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1401, allocations: 0 / 477.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1402, allocations: 4 kB / 477.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.1402, allocations: 3.938 kB / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1402, allocations: 0 / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.1405, allocations: 224.2 kB / 478.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.1405, allocations: 96.86 kB / 478.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1405, allocations: 0 / 478.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.978e-05/0.1406, allocations: 19.98 kB / 478.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.1407, allocations: 0 / 478.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.1407, allocations: 7.938 kB / 478.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.1408, allocations: 188.3 kB / 478.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1408, allocations: 0 / 478.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1411, allocations: 16 kB / 478.4 MB, free: 6.781 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.001042/0.1422, allocations: 457.5 kB / 478.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.1424, allocations: 83.92 kB / 479 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1424, allocations: 4 kB / 479 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.1425, allocations: 43.92 kB / 479 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1429, allocations: 22.89 kB / 479 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.1434, allocations: 326.3 kB / 479.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.1438, allocations: 0.716 MB / 480.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.637e-05/0.1439, allocations: 16.66 kB / 480.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.1439, allocations: 15.44 kB / 480.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1439, allocations: 0 / 480.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of Templates: time 0.0043/0.1482, allocations: 1.309 MB / 481.4 MB, free: 3.93 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