Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 98.31 kB / 17.01 MB, free: 6.391 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.00165/0.00165, allocations: 182.2 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.3 MB / 241.9 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2021/0.2021, allocations: 44.24 MB / 337.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 8 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002444/0.1351, allocations: 1.672 MB / 473.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1367, allocations: 0.9908 MB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.934e-05/0.1368, allocations: 0 / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.137, allocations: 35.77 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.1373, allocations: 131.5 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008697/0.1382, allocations: 395.4 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.1385, allocations: 247 kB / 475.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.1387, allocations: 44.91 kB / 475.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.1389, allocations: 119.5 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.1391, allocations: 163.3 kB / 475.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.1392, allocations: 4 kB / 475.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1393, allocations: 51.97 kB / 475.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.1395, allocations: 127.6 kB / 475.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.1395, allocations: 81.39 kB / 475.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.1398, allocations: 271.8 kB / 475.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1399, allocations: 0 / 475.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1399, allocations: 0 / 475.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1399, allocations: 0 / 475.9 MB, free: 9.379 MB / 350.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.00101/0.1409, allocations: 0.7115 MB / 476.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1409, allocations: 12.03 kB / 476.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.927e-05/0.141, allocations: 51.34 kB / 476.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.1416, allocations: 415 kB / 477.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1416, allocations: 11.94 kB / 477.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.1416, allocations: 12 kB / 477.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.142, allocations: 155.3 kB / 477.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.142, allocations: 0 / 477.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.142, allocations: 12 kB / 477.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.142, allocations: 0 / 477.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.1423, allocations: 119.9 kB / 477.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00096/0.1433, allocations: 0.6722 MB / 478 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.1436, allocations: 129.2 kB / 478.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.1438, allocations: 69.8 kB / 478.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.1438, allocations: 0 / 478.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1439, allocations: 38.5 kB / 478.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.1439, allocations: 4.219 kB / 478.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001861/0.1457, allocations: 0.7323 MB / 479 MB, free: 6.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.1458, allocations: 89.14 kB / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008564/0.1467, allocations: 0.8465 MB / 480 MB, free: 5.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1467, allocations: 25.7 kB / 480 MB, free: 5.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.1469, allocations: 252.4 kB / 480.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.1471, allocations: 67 kB / 480.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.1471, allocations: 4 kB / 480.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003193/0.1475, allocations: 366.8 kB / 480.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.1477, allocations: 107.9 kB / 480.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.148, allocations: 125.7 kB / 480.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.1482, allocations: 111.9 kB / 481 MB, free: 4.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1482, allocations: 0 / 481 MB, free: 4.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007631/0.149, allocations: 328.8 kB / 481.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.149, allocations: 4 kB / 481.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1491, allocations: 4 kB / 481.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1491, allocations: 4 kB / 481.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.1494, allocations: 63.88 kB / 481.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1494, allocations: 0 / 481.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.1496, allocations: 35.97 kB / 481.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.1496, allocations: 11.98 kB / 481.4 MB, free: 3.582 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.1498, allocations: 206.5 kB / 481.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.13e-05/0.1499, allocations: 59.25 kB / 481.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007789/0.1507, allocations: 378.5 kB / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.1508, allocations: 4 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.1508, allocations: 4 kB / 482.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1508, allocations: 0 / 482.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.1522, allocations: 0.9073 MB / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1522, allocations: 0 / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.1525, allocations: 63.89 kB / 483 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1525, allocations: 4 kB / 483 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.1525, allocations: 8 kB / 483 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.1525, allocations: 7.922 kB / 483.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1525, allocations: 0 / 483.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007987/0.1533, allocations: 0.5006 MB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.1535, allocations: 148.4 kB / 483.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.1536, allocations: 4 kB / 483.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.1538, allocations: 28.36 kB / 483.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.022e-05/0.1539, allocations: 19.97 kB / 483.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1539, allocations: 7.984 kB / 483.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008313/0.1548, allocations: 0.6198 MB / 484.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1548, allocations: 3.938 kB / 484.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004167/0.1552, allocations: 55.98 kB / 484.4 MB, free: 480 kB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/0.1564, allocations: 406.1 kB / 484.8 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007082/0.1571, allocations: 255.7 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1571, allocations: 4.375 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.1574, allocations: 139.8 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006052/0.158, allocations: 70.2 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.1595, allocations: 1.004 MB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.1601, allocations: 0.8578 MB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002188/0.1603, allocations: 74.91 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.1604, allocations: 39.42 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1604, allocations: 0 / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of Templates: time 0.009726/0.1702, allocations: 3.85 MB / 491.1 MB, free: 9.91 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches