Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 119.3 kB / 17.09 MB, free: 6.008 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.001933/0.001933, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.381/1.381, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2169/0.2169, allocations: 43.52 MB / 314.8 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.001368/0.001368, allocations: 75.88 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1215, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.003677/0.1252, allocations: 1.543 MB / 0.4901 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007908/0.126, allocations: 335.4 kB / 0.4904 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1261, allocations: 3.938 kB / 0.4904 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1264, allocations: 31.91 kB / 0.4904 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.1267, allocations: 35.78 kB / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.127, allocations: 95.8 kB / 0.4905 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.1272, allocations: 51.84 kB / 0.4906 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1273, allocations: 19.98 kB / 0.4906 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.393e-05/0.1274, allocations: 23.86 kB / 0.4906 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.1274, allocations: 19.91 kB / 0.4906 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1275, allocations: 4 kB / 0.4906 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1276, allocations: 31.98 kB / 0.4907 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.1276, allocations: 11.94 kB / 0.4907 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.1277, allocations: 19.81 kB / 0.4907 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1279, allocations: 83.7 kB / 0.4908 GB, free: 9.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1279, allocations: 4 kB / 0.4908 GB, free: 9.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1279, allocations: 0 / 0.4908 GB, free: 9.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.1279, allocations: 0 / 0.4908 GB, free: 9.48 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.0005349/0.1285, allocations: 395 kB / 0.4912 GB, free: 9.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1285, allocations: 11.89 kB / 0.4912 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.1286, allocations: 8.844 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.1288, allocations: 183.7 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1288, allocations: 8.375 kB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.1288, allocations: 384 / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.129, allocations: 61.73 kB / 0.4914 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.129, allocations: 0 / 0.4914 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.129, allocations: 0 / 0.4914 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.129, allocations: 0 / 0.4914 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.787e-05/0.1291, allocations: 23.98 kB / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.1296, allocations: 284.8 kB / 0.4917 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.1298, allocations: 50.5 kB / 0.4918 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.309e-05/0.1299, allocations: 20.94 kB / 0.4918 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1299, allocations: 0 / 0.4918 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1299, allocations: 30.56 kB / 0.4918 GB, free: 8.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.494e-06/0.1299, allocations: 3.984 kB / 0.4918 GB, free: 8.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005821/0.1305, allocations: 157.2 kB / 0.492 GB, free: 8.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.1306, allocations: 55.39 kB / 0.492 GB, free: 8.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.1307, allocations: 161.8 kB / 0.4922 GB, free: 7.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1307, allocations: 29.69 kB / 0.4922 GB, free: 7.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.1308, allocations: 96.08 kB / 0.4923 GB, free: 7.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.1308, allocations: 11.81 kB / 0.4923 GB, free: 7.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.1309, allocations: 21.7 kB / 0.4923 GB, free: 7.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.131, allocations: 322.8 kB / 0.4926 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.501e-05/0.1311, allocations: 31.91 kB / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/0.1312, allocations: 20.17 kB / 0.4927 GB, free: 7.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1313, allocations: 52.83 kB / 0.4927 GB, free: 7.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1313, allocations: 3.938 kB / 0.4927 GB, free: 7.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001955/0.1315, allocations: 85.56 kB / 0.4928 GB, free: 7.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1316, allocations: 4 kB / 0.4928 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1316, allocations: 4 kB / 0.4928 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1316, allocations: 4 kB / 0.4928 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/0.1317, allocations: 8 kB / 0.4928 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1317, allocations: 0 / 0.4928 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.1317, allocations: 11.98 kB / 0.4929 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1317, allocations: 0 / 0.4929 GB, free: 7.141 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 8.959e-05/0.1318, allocations: 125.7 kB / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.1319, allocations: 11.89 kB / 0.493 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.1321, allocations: 101.9 kB / 0.4931 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1321, allocations: 0 / 0.4931 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1321, allocations: 0 / 0.4931 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1321, allocations: 0 / 0.4931 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.1326, allocations: 362.3 kB / 0.4934 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1326, allocations: 0 / 0.4934 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.1327, allocations: 12.17 kB / 0.4934 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1327, allocations: 4 kB / 0.4934 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1327, allocations: 4 kB / 0.4935 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1327, allocations: 3.938 kB / 0.4935 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1327, allocations: 4 kB / 0.4935 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.1329, allocations: 179.4 kB / 0.4936 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.133, allocations: 81.11 kB / 0.4937 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.133, allocations: 4 kB / 0.4937 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.443e-05/0.1331, allocations: 7.938 kB / 0.4937 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.1331, allocations: 3.984 kB / 0.4937 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.1331, allocations: 4 kB / 0.4937 GB, free: 6.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.186e-05/0.1332, allocations: 130.7 kB / 0.4939 GB, free: 6.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1332, allocations: 3.938 kB / 0.4939 GB, free: 6.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.1335, allocations: 12 kB / 0.4939 GB, free: 6 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.0008902/0.1344, allocations: 415.9 kB / 0.4943 GB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.1346, allocations: 55.95 kB / 0.4943 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1346, allocations: 0 / 0.4943 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.181e-05/0.1347, allocations: 27.92 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.135, allocations: 27.12 kB / 0.4944 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004071/0.1355, allocations: 215.7 kB / 0.4946 GB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.1357, allocations: 0.7041 MB / 0.4953 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.1358, allocations: 11.44 kB / 0.4953 GB, free: 4.543 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1358, allocations: 0 / 0.4953 GB, free: 4.543 MB / 382.1 MB Notification: Performance of Templates: time 0.003584/0.1394, allocations: 1.446 MB / 0.4967 GB, free: 3.098 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches