Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 96.83 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 175.4 kB / 16.56 MB, free: 6.375 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.453/1.453, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3243/0.3243, allocations: 43.55 MB / 314.5 MB, free: 9.031 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.0005327/0.0005327, allocations: 12 kB / 383.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1163, allocations: 58.87 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002563/0.1189, allocations: 1.661 MB / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.1207, allocations: 0.9214 MB / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.1209, allocations: 0 / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.1212, allocations: 43.7 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004072/0.1216, allocations: 139.6 kB / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.1229, allocations: 0.5108 MB / 446 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004349/0.1233, allocations: 203.5 kB / 446.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.1236, allocations: 64.73 kB / 446.3 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.1238, allocations: 115.5 kB / 446.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.1241, allocations: 151.4 kB / 446.5 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.1242, allocations: 4 kB / 446.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1243, allocations: 35.92 kB / 446.6 MB, free: 9.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.1245, allocations: 127.6 kB / 446.7 MB, free: 9.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1246, allocations: 85.38 kB / 446.8 MB, free: 9.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.125, allocations: 291.5 kB / 447.1 MB, free: 8.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.125, allocations: 0 / 447.1 MB, free: 8.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1251, allocations: 0 / 447.1 MB, free: 8.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.1251, allocations: 0 / 447.1 MB, free: 8.934 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.001374/0.1264, allocations: 0.7425 MB / 447.8 MB, free: 8.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.1265, allocations: 8.031 kB / 447.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.1267, allocations: 55.25 kB / 447.9 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007715/0.1275, allocations: 442.9 kB / 448.3 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1275, allocations: 8 kB / 448.3 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.1275, allocations: 12 kB / 448.3 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.1279, allocations: 163.3 kB / 448.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.1279, allocations: 3.984 kB / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.128, allocations: 4 kB / 448.5 MB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.128, allocations: 7.953 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.1283, allocations: 135.8 kB / 448.6 MB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.1297, allocations: 0.7385 MB / 449.4 MB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.13, allocations: 149.1 kB / 449.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.13, allocations: 4 kB / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1301, allocations: 30.56 kB / 449.6 MB, free: 6.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.1301, allocations: 0 / 449.6 MB, free: 6.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002347/0.1324, allocations: 0.8141 MB / 450.4 MB, free: 5.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.1325, allocations: 85.06 kB / 450.5 MB, free: 5.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.1336, allocations: 0.8867 MB / 451.3 MB, free: 4.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.1337, allocations: 29.7 kB / 451.4 MB, free: 4.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.1339, allocations: 260.3 kB / 451.6 MB, free: 4.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.13e-05/0.134, allocations: 71.03 kB / 451.7 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.134, allocations: 0 / 451.7 MB, free: 4.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1342, allocations: 378.8 kB / 452.1 MB, free: 3.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.1345, allocations: 119.9 kB / 452.2 MB, free: 3.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.1348, allocations: 141.6 kB / 452.3 MB, free: 3.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.1351, allocations: 143.9 kB / 452.5 MB, free: 3.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1352, allocations: 0 / 452.5 MB, free: 3.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007176/0.1359, allocations: 372.8 kB / 452.8 MB, free: 2.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1359, allocations: 11.95 kB / 452.8 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1359, allocations: 0 / 452.8 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1359, allocations: 0 / 452.8 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.1362, allocations: 71.89 kB / 452.9 MB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.1362, allocations: 0 / 452.9 MB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.1365, allocations: 27.97 kB / 452.9 MB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.1365, allocations: 8 kB / 452.9 MB, free: 2.812 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.1367, allocations: 221.8 kB / 453.2 MB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.1368, allocations: 59.25 kB / 453.2 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008666/0.1377, allocations: 430.8 kB / 453.6 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.1377, allocations: 4.219 kB / 453.6 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1378, allocations: 0 / 453.6 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1378, allocations: 3.938 kB / 453.6 MB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.1393, allocations: 0.9897 MB / 454.6 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1393, allocations: 4 kB / 454.6 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.1395, allocations: 55.95 kB / 454.7 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.1396, allocations: 4 kB / 454.7 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.1396, allocations: 11.98 kB / 454.7 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1396, allocations: 4.094 kB / 454.7 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1396, allocations: 3.938 kB / 454.7 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.1404, allocations: 0.5503 MB / 455.3 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.1406, allocations: 156.4 kB / 455.4 MB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.825e-05/0.1407, allocations: 4 kB / 455.4 MB, free: 216 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.141, allocations: 27.98 kB / 455.5 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.1411, allocations: 27.95 kB / 455.5 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.1411, allocations: 11.98 kB / 455.5 MB, free: 148 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2093/0.3504, allocations: 0.6458 MB / 456.1 MB, free: 46.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.01e-07/0.3504, allocations: 0 / 456.1 MB, free: 46.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005548/0.351, allocations: 63.25 kB / 456.2 MB, free: 46.41 MB / 382.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.0008377/0.3518, allocations: 406.4 kB / 456.6 MB, free: 46.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006766/0.3525, allocations: 287.5 kB / 456.9 MB, free: 46.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3525, allocations: 0 / 456.9 MB, free: 46.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.3528, allocations: 166.2 kB / 457 MB, free: 46.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.3534, allocations: 65.33 kB / 457.1 MB, free: 46.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.3546, allocations: 1.045 MB / 458.2 MB, free: 45.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.3549, allocations: 0.8935 MB / 459 MB, free: 45.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.3551, allocations: 105.7 kB / 459.1 MB, free: 45.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.3552, allocations: 41.84 kB / 459.2 MB, free: 45.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3552, allocations: 0 / 459.2 MB, free: 45.09 MB / 382.1 MB Notification: Performance of Templates: time 0.007104/0.3623, allocations: 4.132 MB / 463.3 MB, free: 44.77 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches