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.001196/0.001196, allocations: 106.2 kB / 16.64 MB, free: 6.82 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.001405/0.001405, allocations: 194.5 kB / 17.56 MB, free: 5.945 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.462/1.462, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.2223/0.2223, allocations: 43.52 MB / 314.3 MB, free: 0.707 MB / 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.001681/0.001681, allocations: 60.92 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1141, allocations: 57.79 MB / 440.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.003467/0.1176, allocations: 2.079 MB / 442.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1191, allocations: 0.9678 MB / 443.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.1193, allocations: 0 / 443.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.1196, allocations: 35.78 kB / 443.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.1201, allocations: 135.5 kB / 443.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008095/0.1209, allocations: 379.4 kB / 444.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.1212, allocations: 279.1 kB / 444.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.1214, allocations: 72.61 kB / 444.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.1216, allocations: 127.5 kB / 444.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.1219, allocations: 199.2 kB / 444.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.1219, allocations: 12 kB / 444.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.122, allocations: 39.98 kB / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.1222, allocations: 139.6 kB / 445.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1223, allocations: 174.6 kB / 445.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.1226, allocations: 263.6 kB / 445.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1226, allocations: 4 kB / 445.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1226, allocations: 0 / 445.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.1226, allocations: 0 / 445.5 MB, free: 2.48 MB / 318.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.0009209/0.1236, allocations: 0.7579 MB / 446.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1236, allocations: 11.89 kB / 446.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.771e-05/0.1237, allocations: 52.28 kB / 446.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.1241, allocations: 439.9 kB / 446.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1242, allocations: 16.31 kB / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.1242, allocations: 16.03 kB / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.1245, allocations: 141.3 kB / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.1245, allocations: 7.969 kB / 446.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.1245, allocations: 8 kB / 447 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1245, allocations: 0 / 447 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.1248, allocations: 103.9 kB / 447.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007331/0.1255, allocations: 0.6683 MB / 447.7 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.1258, allocations: 121.2 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.126, allocations: 65.81 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.126, allocations: 4 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1261, allocations: 42.5 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.1261, allocations: 0 / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002021/0.1281, allocations: 0.6619 MB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.1282, allocations: 85.05 kB / 448.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009641/0.1292, allocations: 0.8465 MB / 449.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.1292, allocations: 33.92 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.1294, allocations: 244.4 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.1295, allocations: 70.95 kB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.129e-05/0.1295, allocations: 41.69 kB / 449.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1297, allocations: 370.7 kB / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.13, allocations: 91.88 kB / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.1303, allocations: 109.7 kB / 450.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.1308, allocations: 209.5 kB / 450.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1308, allocations: 4 kB / 450.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006846/0.1315, allocations: 289 kB / 451 MB, free: 12.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1315, allocations: 8 kB / 451 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1315, allocations: 0 / 451 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1316, allocations: 0 / 451 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.1318, allocations: 67.88 kB / 451.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1319, allocations: 0 / 451.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.1321, allocations: 15.98 kB / 451.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.1321, allocations: 11.98 kB / 451.1 MB, free: 12.65 MB / 334.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.0002237/0.1323, allocations: 217.6 kB / 451.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.1324, allocations: 51.34 kB / 451.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007939/0.1332, allocations: 358.4 kB / 451.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1333, allocations: 0 / 451.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.1333, allocations: 0 / 451.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1333, allocations: 4 kB / 451.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.1347, allocations: 0.861 MB / 452.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1347, allocations: 3.984 kB / 452.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.135, allocations: 67.97 kB / 452.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.135, allocations: 3.938 kB / 452.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.135, allocations: 4 kB / 452.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.135, allocations: 3.938 kB / 452.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.135, allocations: 0 / 452.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007853/0.1358, allocations: 474 kB / 453.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1359, allocations: 136.4 kB / 453.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.136, allocations: 7.984 kB / 453.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.1363, allocations: 23.92 kB / 453.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.1364, allocations: 31.84 kB / 453.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1364, allocations: 4 kB / 453.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006698/0.1371, allocations: 0.6198 MB / 453.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1371, allocations: 0 / 453.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.1374, allocations: 60 kB / 454 MB, free: 9.637 MB / 334.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.0009672/0.1384, allocations: 409.9 kB / 454.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000631/0.1391, allocations: 235.2 kB / 454.6 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1391, allocations: 0 / 454.6 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.1394, allocations: 123.9 kB / 454.7 MB, free: 8.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/0.1401, allocations: 86.86 kB / 454.8 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.1416, allocations: 1.042 MB / 455.9 MB, free: 7.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.1421, allocations: 0.8534 MB / 456.7 MB, free: 6.906 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.1422, allocations: 43.42 kB / 456.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1422, allocations: 0 / 456.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of Templates: time 0.009437/0.1517, allocations: 5.74 MB / 462.5 MB, free: 1.121 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches