Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.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.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 110.1 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.001425/0.001425, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.48/1.48, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.2125/0.2125, allocations: 43.53 MB / 314.1 MB, free: 440 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.001328/0.001328, allocations: 69.47 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1188, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.003157/0.122, allocations: 2.028 MB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1235, allocations: 0.9794 MB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.825e-05/0.1235, allocations: 0 / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.1238, allocations: 51.58 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.1242, allocations: 155.3 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008011/0.125, allocations: 399.1 kB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.1254, allocations: 279.2 kB / 0.4917 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1256, allocations: 68.56 kB / 0.4917 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.1257, allocations: 131.5 kB / 0.4919 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.126, allocations: 191.3 kB / 0.492 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.126, allocations: 12 kB / 0.4921 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1262, allocations: 44 kB / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.1263, allocations: 143.5 kB / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.1265, allocations: 166.6 kB / 0.4924 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004233/0.1269, allocations: 366.5 kB / 0.4927 GB, free: 6.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1269, allocations: 0 / 0.4927 GB, free: 6.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1269, allocations: 0 / 0.4927 GB, free: 6.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.127, allocations: 4 kB / 0.4928 GB, free: 6.777 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009441/0.1279, allocations: 0.7541 MB / 0.4935 GB, free: 5.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1279, allocations: 19.83 kB / 0.4935 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.771e-05/0.128, allocations: 52.28 kB / 0.4936 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.1285, allocations: 439.9 kB / 0.494 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1285, allocations: 4.375 kB / 0.494 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.1286, allocations: 16.11 kB / 0.494 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.1289, allocations: 155.1 kB / 0.4941 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1289, allocations: 3.906 kB / 0.4941 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.1289, allocations: 11.98 kB / 0.4942 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1289, allocations: 4 kB / 0.4942 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.1292, allocations: 95.92 kB / 0.4943 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008016/0.13, allocations: 0.6644 MB / 0.4949 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.1303, allocations: 125.2 kB / 0.495 GB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.1304, allocations: 61.8 kB / 0.4951 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1305, allocations: 4 kB / 0.4951 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1305, allocations: 34.56 kB / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.1305, allocations: 3.938 kB / 0.4951 GB, free: 4.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001771/0.1323, allocations: 0.6658 MB / 0.4958 GB, free: 3.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.1323, allocations: 81.11 kB / 0.4958 GB, free: 3.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008347/0.1332, allocations: 0.8426 MB / 0.4967 GB, free: 2.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1332, allocations: 25.7 kB / 0.4967 GB, free: 2.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.1334, allocations: 256.3 kB / 0.4969 GB, free: 2.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.1334, allocations: 63.23 kB / 0.497 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.1335, allocations: 37.7 kB / 0.497 GB, free: 2.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1337, allocations: 382.6 kB / 0.4974 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.1339, allocations: 83.94 kB / 0.4975 GB, free: 1.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.1341, allocations: 117.6 kB / 0.4976 GB, free: 1.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.1346, allocations: 201.5 kB / 0.4978 GB, free: 1.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1346, allocations: 4 kB / 0.4978 GB, free: 1.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006113/0.1352, allocations: 297 kB / 0.4981 GB, free: 1.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1352, allocations: 4 kB / 0.4981 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1353, allocations: 0 / 0.4981 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1353, allocations: 4 kB / 0.4981 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.1356, allocations: 59.89 kB / 0.4981 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1356, allocations: 4 kB / 0.4981 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.1357, allocations: 23.91 kB / 0.4982 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.1358, allocations: 8 kB / 0.4982 GB, free: 0.9453 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0001941/0.136, allocations: 213.7 kB / 0.4984 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.052e-05/0.1361, allocations: 51.34 kB / 0.4984 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007612/0.1368, allocations: 354.4 kB / 0.4988 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1368, allocations: 7.984 kB / 0.4988 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1369, allocations: 0 / 0.4988 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1369, allocations: 0 / 0.4988 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.1381, allocations: 0.8726 MB / 0.4996 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1381, allocations: 0 / 0.4996 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.1383, allocations: 51.95 kB / 0.4997 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1384, allocations: 4 kB / 0.4997 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.1384, allocations: 7.984 kB / 0.4997 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1384, allocations: 7.938 kB / 0.4997 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1384, allocations: 0 / 0.4997 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006948/0.1391, allocations: 473.9 kB / 0.5001 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.1392, allocations: 136.4 kB / 0.5003 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.1393, allocations: 4 kB / 0.5003 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.1395, allocations: 27.91 kB / 0.5003 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.1396, allocations: 15.97 kB / 0.5003 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.1396, allocations: 15.98 kB / 0.5003 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007153/0.1403, allocations: 0.6159 MB / 0.5009 GB, free: 14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1403, allocations: 4 kB / 0.5009 GB, free: 14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.1407, allocations: 63.98 kB / 0.501 GB, free: 13.94 MB / 398.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 (20): * Single equations (assignments): 20 * 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.0008561/0.1415, allocations: 412.1 kB / 0.5014 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000563/0.1421, allocations: 215.8 kB / 0.5016 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1421, allocations: 0 / 0.5016 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.1424, allocations: 127.8 kB / 0.5017 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.143, allocations: 73.8 kB / 0.5018 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.1442, allocations: 0.9156 MB / 0.5027 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.1447, allocations: 0.8536 MB / 0.5035 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.1449, allocations: 74.91 kB / 0.5036 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.145, allocations: 43.42 kB / 0.5036 GB, free: 11.22 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.145, allocations: 0 / 0.5036 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Templates: time 0.008052/0.153, allocations: 4.31 MB / 0.5078 GB, free: 6.91 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches