Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 103.1 kB / 16.4 MB, free: 6.449 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.001435/0.001435, allocations: 194.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2162/0.2162, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 77.44 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1277, allocations: 57.78 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003238/0.1309, allocations: 1.619 MB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000744/0.1317, allocations: 347.5 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.257e-05/0.1318, allocations: 0 / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.1321, allocations: 67.8 kB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.1324, allocations: 59.73 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.1328, allocations: 159.6 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.133, allocations: 87.69 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1331, allocations: 19.97 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.361e-05/0.1331, allocations: 31.91 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.174e-05/0.1332, allocations: 55.81 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.1333, allocations: 4 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.317e-05/0.1333, allocations: 32 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.1334, allocations: 19.92 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.1335, allocations: 39.67 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1337, allocations: 95.7 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1337, allocations: 0 / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1337, allocations: 0 / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.1337, allocations: 0 / 0.4904 GB, free: 9.148 MB / 382.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.0004936/0.1342, allocations: 418.9 kB / 0.4908 GB, free: 8.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1342, allocations: 11.89 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.1343, allocations: 12.84 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.1345, allocations: 196.1 kB / 0.4911 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1345, allocations: 8.312 kB / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.1345, allocations: 384 / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1347, allocations: 61.8 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1347, allocations: 4 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.1347, allocations: 0 / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1347, allocations: 4 kB / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.1349, allocations: 43.95 kB / 0.4912 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.1353, allocations: 304.7 kB / 0.4915 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.1354, allocations: 50.48 kB / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.411e-05/0.1355, allocations: 32.94 kB / 0.4915 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.1355, allocations: 0 / 0.4915 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1356, allocations: 42.55 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1356, allocations: 0 / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007705/0.1363, allocations: 225.1 kB / 0.4918 GB, free: 7.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.1364, allocations: 63.39 kB / 0.4919 GB, free: 7.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.1366, allocations: 203.3 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1366, allocations: 25.7 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.1367, allocations: 108 kB / 0.4922 GB, free: 7.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.1367, allocations: 23.66 kB / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.1368, allocations: 17.72 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1369, allocations: 330.8 kB / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.137, allocations: 39.95 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1371, allocations: 35.97 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.1374, allocations: 92.73 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1374, allocations: 7.938 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000303/0.1377, allocations: 117.5 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1377, allocations: 11.92 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1377, allocations: 0 / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1377, allocations: 4 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1379, allocations: 15.98 kB / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1379, allocations: 0 / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.1379, allocations: 23.92 kB / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.138, allocations: 0 / 0.4929 GB, free: 6.438 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001154/0.1381, allocations: 133.7 kB / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.1381, allocations: 15.81 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.1385, allocations: 143.3 kB / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1385, allocations: 4 kB / 0.4931 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1385, allocations: 0 / 0.4931 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1385, allocations: 3.938 kB / 0.4932 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006164/0.1391, allocations: 414.4 kB / 0.4935 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1391, allocations: 0 / 0.4935 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.283e-05/0.1392, allocations: 19.98 kB / 0.4936 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1392, allocations: 0 / 0.4936 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1392, allocations: 7.938 kB / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1392, allocations: 4 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1393, allocations: 0 / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.1396, allocations: 219.3 kB / 0.4938 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.1396, allocations: 81.02 kB / 0.4939 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1396, allocations: 11.94 kB / 0.4939 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-05/0.1397, allocations: 11.98 kB / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.1398, allocations: 7.984 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.1398, allocations: 0 / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.1399, allocations: 155.9 kB / 0.494 GB, free: 5.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1399, allocations: 0 / 0.494 GB, free: 5.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1402, allocations: 24 kB / 0.4941 GB, free: 5.094 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0008684/0.141, allocations: 401.2 kB / 0.4944 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.1414, allocations: 95.84 kB / 0.4945 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1414, allocations: 0 / 0.4945 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.1415, allocations: 43.97 kB / 0.4946 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1419, allocations: 19.84 kB / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000538/0.1425, allocations: 262.8 kB / 0.4948 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.1428, allocations: 0.7157 MB / 0.4955 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.904e-05/0.1429, allocations: 20.28 kB / 0.4956 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.1429, allocations: 11.44 kB / 0.4956 GB, free: 3.523 MB / 382.1 MB Notification: Performance of SimCode: time 1.873e-06/0.1429, allocations: 4 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of Templates: time 0.004255/0.1472, allocations: 1.304 MB / 0.4969 GB, free: 2.219 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches