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.00112/0.00112, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001306/0.001306, allocations: 194 kB / 18.77 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.354/1.354, allocations: 222.9 MB / 242.5 MB, free: 13.64 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.2194/0.2194, allocations: 44.18 MB / 336.8 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 72.3 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1088, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003779/0.1126, allocations: 2.082 MB / 471.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1144, allocations: 1.049 MB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.1145, allocations: 0 / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1148, allocations: 31.8 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.1152, allocations: 135.5 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009828/0.1162, allocations: 407 kB / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.1165, allocations: 275 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1167, allocations: 60.7 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.1169, allocations: 115.5 kB / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.1172, allocations: 191.2 kB / 473.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.1173, allocations: 12 kB / 473.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.1174, allocations: 55.98 kB / 473.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.1176, allocations: 139.5 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.1177, allocations: 154.7 kB / 473.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.1181, allocations: 271.8 kB / 474.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1182, allocations: 0 / 474.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1182, allocations: 0 / 474.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.1182, allocations: 0 / 474.1 MB, free: 9.875 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.001207/0.1194, allocations: 0.7619 MB / 474.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1194, allocations: 12.03 kB / 474.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.1196, allocations: 52.28 kB / 474.9 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.1201, allocations: 451.7 kB / 475.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1201, allocations: 8.375 kB / 475.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.1202, allocations: 16.12 kB / 475.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.1205, allocations: 137.2 kB / 475.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1205, allocations: 0 / 475.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1206, allocations: 12 kB / 475.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1206, allocations: 0 / 475.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.1209, allocations: 103.9 kB / 475.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.1219, allocations: 0.6683 MB / 476.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.1222, allocations: 121.2 kB / 476.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.1224, allocations: 73.73 kB / 476.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.1224, allocations: 0 / 476.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.1224, allocations: 34.56 kB / 476.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 9.21e-07/0.1224, allocations: 224 / 476.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001934/0.1244, allocations: 0.6701 MB / 477.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.1244, allocations: 77.11 kB / 477.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/0.1253, allocations: 0.8466 MB / 478.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1254, allocations: 29.7 kB / 478.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.1256, allocations: 256.2 kB / 478.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.1256, allocations: 59.11 kB / 478.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.1257, allocations: 41.69 kB / 478.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1259, allocations: 366.7 kB / 478.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.1261, allocations: 95.94 kB / 479 MB, free: 4.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.1264, allocations: 101.8 kB / 479.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/0.1269, allocations: 209.7 kB / 479.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.1269, allocations: 4 kB / 479.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006505/0.1276, allocations: 304.7 kB / 479.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1276, allocations: 8 kB / 479.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1276, allocations: 0 / 479.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1276, allocations: 0 / 479.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.1279, allocations: 51.95 kB / 479.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.128, allocations: 0 / 479.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.1282, allocations: 27.88 kB / 479.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.1282, allocations: 8 kB / 479.7 MB, free: 4.055 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.0002393/0.1284, allocations: 217.7 kB / 479.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.1286, allocations: 51.34 kB / 479.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008179/0.1294, allocations: 341.8 kB / 480.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1294, allocations: 8 kB / 480.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1294, allocations: 0 / 480.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1294, allocations: 0 / 480.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.1309, allocations: 0.8725 MB / 481.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1309, allocations: 0 / 481.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.1312, allocations: 51.89 kB / 481.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1312, allocations: 4 kB / 481.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.1312, allocations: 7.984 kB / 481.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.1312, allocations: 11.88 kB / 481.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1312, allocations: 0 / 481.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007506/0.132, allocations: 476.3 kB / 481.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.1322, allocations: 136.5 kB / 481.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.1322, allocations: 4 kB / 481.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.1325, allocations: 27.91 kB / 481.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.1325, allocations: 19.97 kB / 481.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1326, allocations: 8 kB / 481.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007047/0.1333, allocations: 0.6198 MB / 482.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1333, allocations: 0 / 482.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.1337, allocations: 59.91 kB / 482.6 MB, free: 1.062 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.001035/0.1347, allocations: 416.1 kB / 483 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006167/0.1354, allocations: 219.7 kB / 483.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1354, allocations: 0 / 483.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.1357, allocations: 123.9 kB / 483.3 MB, free: 484 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.1363, allocations: 74.25 kB / 483.4 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.1379, allocations: 1.044 MB / 484.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.1385, allocations: 0.8535 MB / 485.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.1386, allocations: 43.41 kB / 485.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1386, allocations: 0 / 485.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of Templates: time 0.009814/0.1485, allocations: 5.733 MB / 491 MB, free: 8.684 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