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.0009347/0.0009346, allocations: 94.08 kB / 18 MB, free: 5.613 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.001088/0.001088, allocations: 172.5 kB / 18.91 MB, free: 4.742 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.374/1.374, allocations: 223.3 MB / 243 MB, free: 204 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.1963/0.1963, allocations: 44.25 MB / 338.3 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003171, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 61.92 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002379/0.1147, allocations: 1.715 MB / 474.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1163, allocations: 1.033 MB / 475.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.1164, allocations: 4 kB / 475.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.1166, allocations: 35.77 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.1169, allocations: 139.5 kB / 475.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008503/0.1178, allocations: 413.6 kB / 476.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.1181, allocations: 279 kB / 476.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.1183, allocations: 52.72 kB / 476.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.1184, allocations: 111.5 kB / 476.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.1187, allocations: 179.2 kB / 476.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.1187, allocations: 4 kB / 476.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.1189, allocations: 51.98 kB / 476.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.119, allocations: 131.6 kB / 477 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1192, allocations: 184.3 kB / 477.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.1194, allocations: 267.8 kB / 477.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1195, allocations: 0 / 477.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1195, allocations: 4 kB / 477.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1195, allocations: 0 / 477.5 MB, free: 8.766 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.0008837/0.1204, allocations: 0.6962 MB / 478.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1204, allocations: 19.97 kB / 478.2 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.447e-05/0.1205, allocations: 52.28 kB / 478.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.121, allocations: 443.7 kB / 478.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.121, allocations: 8.375 kB / 478.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.1211, allocations: 16.12 kB / 478.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.1214, allocations: 147.3 kB / 478.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1214, allocations: 0 / 478.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.1214, allocations: 11.98 kB / 478.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1214, allocations: 0 / 478.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.1218, allocations: 119.9 kB / 479 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008726/0.1226, allocations: 0.6683 MB / 479.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.1229, allocations: 125.2 kB / 479.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.1231, allocations: 73.75 kB / 479.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.1231, allocations: 8 kB / 479.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.1232, allocations: 30.56 kB / 479.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.1232, allocations: 0 / 479.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002068/0.1252, allocations: 0.7486 MB / 480.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.1253, allocations: 85.05 kB / 480.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008759/0.1262, allocations: 0.8427 MB / 481.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1262, allocations: 29.7 kB / 481.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.1264, allocations: 248.5 kB / 481.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.973e-05/0.1265, allocations: 71 kB / 481.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.1265, allocations: 25.64 kB / 481.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1267, allocations: 370.7 kB / 482.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.127, allocations: 107.9 kB / 482.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.1273, allocations: 125.6 kB / 482.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/0.1278, allocations: 241.5 kB / 482.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1278, allocations: 0 / 482.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007235/0.1286, allocations: 332.8 kB / 483.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1286, allocations: 8 kB / 483.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1286, allocations: 0 / 483.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1286, allocations: 0 / 483.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.1289, allocations: 68.12 kB / 483.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1289, allocations: 0 / 483.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.1291, allocations: 31.98 kB / 483.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.1292, allocations: 11.98 kB / 483.2 MB, free: 2.789 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002206/0.1294, allocations: 217.7 kB / 483.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.286e-05/0.1295, allocations: 55.25 kB / 483.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000846/0.1303, allocations: 377.8 kB / 483.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1304, allocations: 4 kB / 483.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1304, allocations: 0 / 483.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.1304, allocations: 0 / 483.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.1317, allocations: 0.8995 MB / 484.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1317, allocations: 0 / 484.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.132, allocations: 67.88 kB / 484.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.132, allocations: 0 / 484.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.1321, allocations: 8 kB / 484.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.675e-05/0.1321, allocations: 7.938 kB / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1321, allocations: 3.938 kB / 484.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007695/0.1329, allocations: 0.497 MB / 485.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.133, allocations: 144.4 kB / 485.4 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.133, allocations: 4 kB / 485.5 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.1333, allocations: 39.84 kB / 485.5 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.1334, allocations: 19.91 kB / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1334, allocations: 12 kB / 485.5 MB, free: 352 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006462/0.1341, allocations: 0.6159 MB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1341, allocations: 0 / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003699/0.1345, allocations: 60 kB / 486.2 MB, free: 15.67 MB / 366.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.0009455/0.1354, allocations: 403.1 kB / 486.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000676/0.1361, allocations: 263.7 kB / 486.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1361, allocations: 0 / 486.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.1364, allocations: 139.9 kB / 487 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.1371, allocations: 66.27 kB / 487 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.1385, allocations: 1.052 MB / 488.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.1389, allocations: 0.8579 MB / 489 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.1391, allocations: 39.42 kB / 489 MB, free: 12.96 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1391, allocations: 0 / 489 MB, free: 12.96 MB / 366.1 MB Notification: Performance of Templates: time 0.008618/0.1477, allocations: 5.663 MB / 494.7 MB, free: 7.316 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/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