Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001476/0.001476, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.461/1.461, allocations: 222.9 MB / 243 MB, free: 15.17 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.2156/0.2156, allocations: 44.18 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 70.11 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1277, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.00323/0.131, allocations: 1.575 MB / 472.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007527/0.1318, allocations: 407.2 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.1318, allocations: 4 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.1322, allocations: 115.7 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.1324, allocations: 91.7 kB / 472.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.1327, allocations: 91.5 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1329, allocations: 91.73 kB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.133, allocations: 20.17 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.739e-05/0.1331, allocations: 47.81 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.1332, allocations: 71.86 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1333, allocations: 4 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.874e-05/0.1334, allocations: 43.98 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.1334, allocations: 31.86 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.1335, allocations: 39.67 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.1337, allocations: 119.6 kB / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1337, allocations: 0 / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1337, allocations: 0 / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1337, allocations: 0 / 473.4 MB, free: 10.92 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.0005279/0.1343, allocations: 426.8 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1343, allocations: 8.031 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.1344, allocations: 16.83 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1346, allocations: 203.9 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1346, allocations: 8.375 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.1346, allocations: 4.359 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1348, allocations: 57.61 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1348, allocations: 3.938 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1348, allocations: 4 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1348, allocations: 0 / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.323e-05/0.1349, allocations: 27.97 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.1353, allocations: 308.7 kB / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.1355, allocations: 46.5 kB / 474.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.1355, allocations: 20.88 kB / 474.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.1355, allocations: 0 / 474.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.1356, allocations: 34.56 kB / 474.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1356, allocations: 0 / 474.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008334/0.1364, allocations: 221 kB / 474.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.1365, allocations: 55.41 kB / 474.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.1367, allocations: 274.2 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1367, allocations: 25.7 kB / 475.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.1368, allocations: 120 kB / 475.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1369, allocations: 23.73 kB / 475.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.1369, allocations: 29.69 kB / 475.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1371, allocations: 322.8 kB / 475.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.1371, allocations: 23.98 kB / 475.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.168e-05/0.1372, allocations: 23.98 kB / 475.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.1374, allocations: 68.77 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1374, allocations: 0 / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001843/0.1376, allocations: 101.5 kB / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1376, allocations: 8 kB / 475.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1376, allocations: 0 / 475.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1376, allocations: 0 / 475.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.1377, allocations: 15.98 kB / 475.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1377, allocations: 7.938 kB / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.1378, allocations: 4 kB / 475.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1378, allocations: 7.938 kB / 475.9 MB, free: 8.246 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 9.636e-05/0.1379, allocations: 133.8 kB / 476 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.1379, allocations: 11.81 kB / 476 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.1382, allocations: 127.3 kB / 476.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1382, allocations: 0 / 476.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1382, allocations: 3.938 kB / 476.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1382, allocations: 4 kB / 476.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.1387, allocations: 399.3 kB / 476.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1387, allocations: 3.984 kB / 476.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.624e-05/0.1388, allocations: 31.88 kB / 476.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1388, allocations: 432 / 476.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.1388, allocations: 0 / 476.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1388, allocations: 7.984 kB / 476.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1388, allocations: 3.969 kB / 476.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.139, allocations: 204.2 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.1391, allocations: 100.8 kB / 476.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.1391, allocations: 0 / 476.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.1392, allocations: 8 kB / 476.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.1393, allocations: 15.92 kB / 476.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.1393, allocations: 7.938 kB / 476.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.1394, allocations: 199.2 kB / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1394, allocations: 0 / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1397, allocations: 16 kB / 477.1 MB, free: 6.887 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.001024/0.1407, allocations: 452.4 kB / 477.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.141, allocations: 67.88 kB / 477.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.141, allocations: 0 / 477.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.864e-05/0.1411, allocations: 35.98 kB / 477.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.1415, allocations: 23.86 kB / 477.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.142, allocations: 307.3 kB / 478 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.1423, allocations: 0.7158 MB / 478.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.477e-05/0.1424, allocations: 16.95 kB / 478.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.1424, allocations: 15.44 kB / 478.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1424, allocations: 0 / 478.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of Templates: time 0.004024/0.1464, allocations: 1.343 MB / 480.1 MB, free: 4.051 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches