Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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.CombiTable1D.Test30,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.CombiTable1D.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.Test30,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.CombiTable1D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 107 kB / 16.41 MB, free: 6.445 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.001608/0.001608, allocations: 192.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.402/1.402, 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.2295/0.2295, allocations: 43.52 MB / 314.1 MB, free: 456 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.001652/0.001652, allocations: 69.47 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1225, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.003335/0.1259, allocations: 1.546 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007289/0.1266, allocations: 331.5 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.1267, allocations: 4 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.1271, allocations: 75.77 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.1273, allocations: 67.73 kB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.1277, allocations: 91.81 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.1279, allocations: 67.83 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.128, allocations: 19.95 kB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.833e-05/0.1281, allocations: 39.8 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1282, allocations: 51.88 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1282, allocations: 0 / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.17e-05/0.1283, allocations: 27.98 kB / 0.4901 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.1284, allocations: 15.94 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.1285, allocations: 35.72 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.1287, allocations: 83.73 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1287, allocations: 0 / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1287, allocations: 0 / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1287, allocations: 0 / 0.4903 GB, free: 9.332 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.0005268/0.1292, allocations: 414.4 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1293, allocations: 11.89 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.1293, allocations: 8.844 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1296, allocations: 192.1 kB / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1296, allocations: 4.375 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1296, allocations: 384 / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.1298, allocations: 53.8 kB / 0.4909 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1298, allocations: 0 / 0.4909 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1298, allocations: 4 kB / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1298, allocations: 0 / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.832e-05/0.1299, allocations: 27.92 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.1303, allocations: 288.8 kB / 0.4912 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.1306, allocations: 42.56 kB / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.1306, allocations: 24.94 kB / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1307, allocations: 3.938 kB / 0.4913 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.1307, allocations: 38.5 kB / 0.4913 GB, free: 8.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1307, allocations: 0 / 0.4913 GB, free: 8.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005661/0.1313, allocations: 153.2 kB / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.1313, allocations: 59.41 kB / 0.4915 GB, free: 7.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.1315, allocations: 202.2 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1316, allocations: 25.7 kB / 0.4918 GB, free: 7.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.1316, allocations: 100.1 kB / 0.4919 GB, free: 7.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.1317, allocations: 23.66 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.1317, allocations: 13.72 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1318, allocations: 322.8 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.1319, allocations: 19.98 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.844e-05/0.132, allocations: 31.97 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1321, allocations: 48.83 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1321, allocations: 0 / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000195/0.1323, allocations: 89.52 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1324, allocations: 7.938 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1324, allocations: 0 / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1324, allocations: 0 / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.901e-05/0.1325, allocations: 19.98 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1325, allocations: 0 / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.856e-05/0.1325, allocations: 7.984 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1325, allocations: 7.984 kB / 0.4924 GB, free: 6.91 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.838e-05/0.1326, allocations: 129.7 kB / 0.4925 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.1327, allocations: 7.906 kB / 0.4926 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.1329, allocations: 106.2 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1329, allocations: 0 / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1329, allocations: 4.297 kB / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1329, allocations: 0 / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.1334, allocations: 362.5 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1334, allocations: 0 / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.1335, allocations: 19.98 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1335, allocations: 0 / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.1335, allocations: 0 / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.1335, allocations: 7.938 kB / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1335, allocations: 7.875 kB / 0.493 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1337, allocations: 183.3 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.1338, allocations: 85.02 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1338, allocations: 0 / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.1339, allocations: 15.92 kB / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.445e-05/0.1339, allocations: 4 kB / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1339, allocations: 4 kB / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1341, allocations: 164 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1341, allocations: 0 / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1343, allocations: 16 kB / 0.4935 GB, free: 5.707 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.000919/0.1353, allocations: 396.5 kB / 0.4939 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1355, allocations: 59.89 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1355, allocations: 0 / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.241e-05/0.1356, allocations: 23.98 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.1359, allocations: 19.84 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.1364, allocations: 226 kB / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1367, allocations: 0.7002 MB / 0.4949 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.514e-05/0.1368, allocations: 19.92 kB / 0.4949 GB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.1368, allocations: 15.38 kB / 0.4949 GB, free: 4.242 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1368, allocations: 0 / 0.4949 GB, free: 4.242 MB / 382.1 MB Notification: Performance of Templates: time 0.004437/0.1413, allocations: 1.125 MB / 0.496 GB, free: 3.117 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches