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.001603/0.001603, allocations: 105.7 kB / 17.32 MB, free: 5.984 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.002051/0.002051, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.607/1.607, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2094/0.2094, allocations: 44.18 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 72.23 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1059, allocations: 60.82 MB / 468.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.00326/0.1092, allocations: 2.081 MB / 470.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1107, allocations: 1.041 MB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.083e-05/0.1108, allocations: 4 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.111, allocations: 31.78 kB / 471.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.1113, allocations: 143.5 kB / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008106/0.1122, allocations: 401.9 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000317/0.1125, allocations: 291 kB / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.1126, allocations: 60.66 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.1128, allocations: 135.4 kB / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.113, allocations: 187.3 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.1131, allocations: 15.94 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1132, allocations: 59.98 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.1134, allocations: 147.5 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.1135, allocations: 154.7 kB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.1139, allocations: 374.8 kB / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1139, allocations: 7.922 kB / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1139, allocations: 0 / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1139, allocations: 0 / 473.8 MB, free: 9.629 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.0009225/0.1148, allocations: 0.758 MB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1149, allocations: 12.03 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.931e-05/0.115, allocations: 52.28 kB / 474.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.1154, allocations: 443.8 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1155, allocations: 8.375 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.1155, allocations: 16.12 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.1158, allocations: 142.9 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1158, allocations: 7.984 kB / 475.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1158, allocations: 4 kB / 475.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1158, allocations: 4 kB / 475.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.1161, allocations: 99.92 kB / 475.3 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008654/0.117, allocations: 0.6644 MB / 476 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.1173, allocations: 129.2 kB / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.1175, allocations: 57.81 kB / 476.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1175, allocations: 0 / 476.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.1175, allocations: 38.78 kB / 476.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 4.278e-06/0.1175, allocations: 0 / 476.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00193/0.1195, allocations: 0.6702 MB / 476.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.1195, allocations: 81.11 kB / 477 MB, free: 6.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008422/0.1204, allocations: 0.8466 MB / 477.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1204, allocations: 25.7 kB / 477.8 MB, free: 5.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1206, allocations: 256.3 kB / 478.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.1206, allocations: 59.11 kB / 478.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.001e-05/0.1207, allocations: 41.69 kB / 478.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1209, allocations: 366.7 kB / 478.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.1211, allocations: 103.9 kB / 478.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.1214, allocations: 104.4 kB / 478.7 MB, free: 4.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.1219, allocations: 217.7 kB / 479 MB, free: 4.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1219, allocations: 0 / 479 MB, free: 4.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006402/0.1225, allocations: 292.8 kB / 479.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1226, allocations: 4 kB / 479.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1226, allocations: 0 / 479.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1226, allocations: 4 kB / 479.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.1229, allocations: 59.88 kB / 479.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.1229, allocations: 4 kB / 479.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.1231, allocations: 23.89 kB / 479.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.1231, allocations: 7.984 kB / 479.3 MB, free: 3.816 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.0001964/0.1233, allocations: 209.7 kB / 479.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.793e-05/0.1234, allocations: 51.34 kB / 479.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007576/0.1242, allocations: 345.9 kB / 479.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1242, allocations: 4 kB / 479.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1242, allocations: 0 / 479.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1242, allocations: 4 kB / 479.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.1255, allocations: 0.8721 MB / 480.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1255, allocations: 4 kB / 480.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.1258, allocations: 51.94 kB / 480.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1258, allocations: 4 kB / 480.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.1258, allocations: 11.94 kB / 480.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1258, allocations: 7.938 kB / 480.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1258, allocations: 0 / 480.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008346/0.1267, allocations: 473.9 kB / 481.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1268, allocations: 132.5 kB / 481.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.549e-05/0.1269, allocations: 8 kB / 481.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.1271, allocations: 23.91 kB / 481.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.1272, allocations: 27.95 kB / 481.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.1272, allocations: 4 kB / 481.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006552/0.1279, allocations: 0.6198 MB / 482.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1279, allocations: 0 / 482.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003876/0.1283, allocations: 67.91 kB / 482.2 MB, free: 0.8164 MB / 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 (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.0009993/0.1293, allocations: 398.8 kB / 482.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006955/0.13, allocations: 235.7 kB / 482.9 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.13, allocations: 0 / 482.9 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.1303, allocations: 124.4 kB / 483 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.131, allocations: 85.28 kB / 483.1 MB, free: 152 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.1325, allocations: 1.053 MB / 484.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.133, allocations: 0.8652 MB / 485 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.1332, allocations: 70.92 kB / 485.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.1333, allocations: 35.42 kB / 485.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1334, allocations: 0 / 485.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Templates: time 0.008059/0.1414, allocations: 4.136 MB / 489.2 MB, free: 9.953 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