Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001323, allocations: 109 kB / 16.41 MB, free: 6.488 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.001416/0.001417, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.758/1.758, 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.238/0.238, allocations: 43.53 MB / 314.1 MB, free: 468 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.001408/0.001408, allocations: 67.91 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1278, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003614/0.1315, allocations: 1.546 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007814/0.1323, allocations: 323.4 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/0.1324, allocations: 4 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.1327, allocations: 19.86 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.133, allocations: 43.78 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.1333, allocations: 63.84 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.1335, allocations: 55.84 kB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1336, allocations: 15.97 kB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.1337, allocations: 23.86 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.1338, allocations: 23.92 kB / 0.49 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.1338, allocations: 0 / 0.49 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.134, allocations: 31.98 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.192e-05/0.134, allocations: 11.94 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.1341, allocations: 23.84 kB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1343, allocations: 71.67 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1343, allocations: 3.938 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1343, allocations: 0 / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1344, allocations: 0 / 0.4901 GB, free: 9.539 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005821/0.1349, allocations: 371.1 kB / 0.4904 GB, free: 9.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.135, allocations: 19.89 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.1351, allocations: 4.891 kB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1353, allocations: 192.2 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1353, allocations: 4.375 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.1354, allocations: 4.375 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1355, allocations: 49.81 kB / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1355, allocations: 0 / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1356, allocations: 0 / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1356, allocations: 0 / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1357, allocations: 31.91 kB / 0.4907 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.1362, allocations: 268.9 kB / 0.491 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.1364, allocations: 42.56 kB / 0.491 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.1365, allocations: 20.92 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.1365, allocations: 4 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1365, allocations: 38.5 kB / 0.4911 GB, free: 8.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.1365, allocations: 0 / 0.4911 GB, free: 8.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006181/0.1372, allocations: 137.4 kB / 0.4912 GB, free: 8.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.1372, allocations: 51.41 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1374, allocations: 146.1 kB / 0.4914 GB, free: 7.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1374, allocations: 25.7 kB / 0.4914 GB, free: 7.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.1375, allocations: 96.14 kB / 0.4915 GB, free: 7.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.1375, allocations: 23.73 kB / 0.4916 GB, free: 7.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.1375, allocations: 17.7 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1376, allocations: 322.8 kB / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.465e-05/0.1377, allocations: 15.98 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-05/0.1378, allocations: 19.98 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1379, allocations: 53.02 kB / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1379, allocations: 0 / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001761/0.1381, allocations: 81.56 kB / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1381, allocations: 8 kB / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1381, allocations: 0 / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1381, allocations: 0 / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.1382, allocations: 11.98 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1382, allocations: 0 / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.762e-05/0.1383, allocations: 11.98 kB / 0.4921 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1383, allocations: 4 kB / 0.4921 GB, free: 7.277 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 (5): * Single equations (assignments): 5 * 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.366e-05/0.1384, allocations: 125.7 kB / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.1384, allocations: 7.953 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.1386, allocations: 89.89 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.1386, allocations: 0 / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1387, allocations: 4 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1387, allocations: 4 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.1391, allocations: 338.5 kB / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1391, allocations: 0 / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.1391, allocations: 15.98 kB / 0.4926 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1392, allocations: 0 / 0.4926 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.1392, allocations: 0 / 0.4926 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1392, allocations: 8.062 kB / 0.4926 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1392, allocations: 0 / 0.4926 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1394, allocations: 183.5 kB / 0.4928 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.1395, allocations: 85.06 kB / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1395, allocations: 0 / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.658e-05/0.1396, allocations: 11.92 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.1396, allocations: 0 / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1396, allocations: 4 kB / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.1397, allocations: 119.2 kB / 0.493 GB, free: 6.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.914e-06/0.1397, allocations: 0 / 0.493 GB, free: 6.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.14, allocations: 11.94 kB / 0.493 GB, free: 6.18 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 (5): * Single equations (assignments): 5 * 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.0009682/0.141, allocations: 409.6 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.1412, allocations: 47.91 kB / 0.4935 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1412, allocations: 0 / 0.4935 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.901e-05/0.1413, allocations: 27.98 kB / 0.4935 GB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1417, allocations: 19.59 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.142, allocations: 173.2 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.1423, allocations: 0.6923 MB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.027e-05/0.1424, allocations: 4 kB / 0.4944 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.1424, allocations: 19.44 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1424, allocations: 0 / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of Templates: time 0.003728/0.1462, allocations: 1.092 MB / 0.4954 GB, free: 3.695 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches